Microsoft.Identity.Client.Http.IHttpManager
interface IHttpManager
Task<HttpResponse> SendRequestAsync(Uri endpoint, IDictionary<string, string> headers, HttpContent body, HttpMethod method, ILoggerAdapter logger, bool doNotThrow, X509Certificate2 mtlsCertificate, Func<HttpRequestMessage, X509Certificate2, X509Chain, SslPolicyErrors, bool> validateServerCertificate, CancellationToken cancellationToken, IRetryPolicy retryPolicy, int retryCount = 0)
Method to send a request to the server using the HttpClient configured in the implementation.