Table of Contents

Class MockedConnectionPool

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

Constructors

MockedConnectionPool(Authority, PreMadeResponse)

public MockedConnectionPool(Authority authority, PreMadeResponse preMadeResponse)

Parameters

authority Authority
preMadeResponse PreMadeResponse

Properties

Authority

public Authority Authority { get; }

Property Value

Authority

Complete

public bool Complete { get; }

Property Value

bool

Methods

CheckAlive()

public ValueTask<bool> CheckAlive()

Returns

ValueTask<bool>

Dispose()

public void Dispose()

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 localLink, RsBuffer buffer, CancellationToken cancellationToken = default)

Parameters

exchange Exchange
localLink ILocalLink
buffer RsBuffer
cancellationToken CancellationToken

Returns

ValueTask