Table of Contents

Class ClientCertificateHttpHandler

Namespace
Steeltoe.Common.Http
Assembly
Steeltoe.Common.Http.dll
public class ClientCertificateHttpHandler : HttpClientHandler, IDisposable
Inheritance
ClientCertificateHttpHandler
Implements
Inherited Members

Constructors

ClientCertificateHttpHandler(IOptionsMonitor<CertificateOptions>)

public ClientCertificateHttpHandler(IOptionsMonitor<CertificateOptions> certOptions)

Parameters

certOptions IOptionsMonitor<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

request HttpRequestMessage

The HTTP request message.

cancellationToken CancellationToken

A cancellation token to cancel the operation.

Returns

Task<HttpResponseMessage>

The task object representing the asynchronous operation.

Exceptions

ArgumentNullException

The request was null.