Table of Contents

Class FluxzyDefaultHandler

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

An HttpMessageHandler that uses fluxzy internals to send requests. Unless you know what you are doing, you should not use this class directly instead of HttpClientHandler.

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

Constructors

FluxzyDefaultHandler(SslProvider, ITcpConnectionProvider?, RealtimeArchiveWriter?)

public FluxzyDefaultHandler(SslProvider sslProvider, ITcpConnectionProvider? connectionProvider = null, RealtimeArchiveWriter? writer = null)

Parameters

sslProvider SslProvider
connectionProvider ITcpConnectionProvider
writer RealtimeArchiveWriter

Properties

Protocols

public List<SslApplicationProtocol>? Protocols { get; set; }

Property Value

List<SslApplicationProtocol>

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.