Table of Contents

Class H2ConnectionPool

Namespace
Fluxzy.Clients.H2
Assembly
Fluxzy.Core.dll
public class H2ConnectionPool : IHttpConnectionPool, IAsyncDisposable
Inheritance
H2ConnectionPool
Implements
Inherited Members

Constructors

H2ConnectionPool(Stream, H2StreamSetting, Authority, Connection, Action<H2ConnectionPool>)

public H2ConnectionPool(Stream baseStream, H2StreamSetting setting, Authority authority, Connection connection, Action<H2ConnectionPool> onConnectionFaulted)

Parameters

baseStream Stream
setting H2StreamSetting
authority Authority
connection Connection
onConnectionFaulted Action<H2ConnectionPool>

Fields

IsDisposed

public volatile bool IsDisposed

Field Value

bool

TotalRequest

public volatile int TotalRequest

Field Value

int

Properties

Authority

public Authority Authority { get; }

Property Value

Authority

Complete

public bool Complete { get; }

Property Value

bool

Id

public int Id { get; }

Property Value

int

Setting

public H2StreamSetting Setting { get; }

Property Value

H2StreamSetting

Methods

CheckAlive()

public ValueTask<bool> CheckAlive()

Returns

ValueTask<bool>

DisposeAsync()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources asynchronously.

public ValueTask DisposeAsync()

Returns

ValueTask

A task that represents the asynchronous dispose operation.

Init()

public void Init()
public ValueTask Send(Exchange exchange, ILocalLink _, RsBuffer buffer, CancellationToken cancellationToken = default)

Parameters

exchange Exchange
_ ILocalLink
buffer RsBuffer
cancellationToken CancellationToken

Returns

ValueTask