<PackageReference Include="Microsoft.Identity.Client" Version="4.82.0-preview-2" />

Microsoft.Identity.Client.Http.HttpManager

public long LastRequestDurationInMs { get; }

public HttpManager(IMsalHttpClientFactory httpClientFactory, bool disableInternalRetries)

Initializes a new instance of the HttpManager class.

protected static Task<HttpContent> CloneHttpContentAsync(HttpContent httpContent)

public Task<HttpResponse> SendRequestAsync(Uri endpoint, IDictionary<string, string> headers, HttpContent body, HttpMethod method, ILoggerAdapter logger, bool doNotThrow, X509Certificate2 bindingCertificate, Func<HttpRequestMessage, X509Certificate2, X509Chain, SslPolicyErrors, bool> validateServerCert, CancellationToken cancellationToken, IRetryPolicy retryPolicy, int retryCount = 0)