Table of Contents

Interface ITransport

Namespace
DotBoxD.Services.Transport
Assembly
DotBoxD.Services.dll

Represents a transport layer for establishing connections.

public interface ITransport : IAsyncDisposable
Inherited Members
Extension Methods

Properties

Connection

Gets the active connection (client-side).

IRpcChannel? Connection { get; }

Property Value

IRpcChannel

IsConnected

Gets whether there is an active connection.

bool IsConnected { get; }

Property Value

bool

Methods

ConnectAsync(CancellationToken)

Establishes a connection (client-side).

Task ConnectAsync(CancellationToken ct = default)

Parameters

ct CancellationToken

Returns

Task