Table of Contents

Class FluxzyHttp11Handler

Namespace
Fluxzy.Clients.DotNetBridge
Assembly
Fluxzy.Core.dll

An HttpMessageHandler that uses fluxzy internals to send requests and forces connection to be HTTP/1.1. Unless you know what you are doing, you should not use this class directly instead of HttpClientHandler.

public class FluxzyHttp11Handler : HttpMessageHandler, IDisposable
Inheritance
FluxzyHttp11Handler
Implements
Inherited Members

Constructors

FluxzyHttp11Handler(SslProvider)

public FluxzyHttp11Handler(SslProvider sslProvider = SslProvider.OsDefault)

Parameters

sslProvider SslProvider

Methods

Dispose(bool)

Releases the unmanaged resources used by the HttpMessageHandler and optionally disposes of the managed resources.

protected override void Dispose(bool disposing)

Parameters

disposing bool

true to release both managed and unmanaged resources; false to releases only unmanaged resources.

SendAsync(HttpRequestMessage, CancellationToken)

Send an HTTP request as an asynchronous operation.

protected override Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)

Parameters

request HttpRequestMessage

The HTTP request message to send.

cancellationToken CancellationToken

The cancellation token to cancel operation.

Returns

Task<HttpResponseMessage>

The task object representing the asynchronous operation.

Exceptions

ArgumentNullException

The request was null.