Class ClientCertificateHttpHandler
public class ClientCertificateHttpHandler : HttpClientHandler, IDisposable
- Inheritance
-
ClientCertificateHttpHandler
- Implements
- Inherited Members
Constructors
ClientCertificateHttpHandler(IOptionsMonitor<CertificateOptions>)
public ClientCertificateHttpHandler(IOptionsMonitor<CertificateOptions> certOptions)
Parameters
certOptionsIOptionsMonitor<CertificateOptions>
Methods
SendAsync(HttpRequestMessage, CancellationToken)
Creates an instance of HttpResponseMessage based on the information provided in the HttpRequestMessage as an operation that will not block.
protected override Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
Parameters
requestHttpRequestMessageThe HTTP request message.
cancellationTokenCancellationTokenA cancellation token to cancel the operation.
Returns
- Task<HttpResponseMessage>
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
The
requestwas null.