Interface ITransport
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
IsConnected
Gets whether there is an active connection.
bool IsConnected { get; }
Property Value
Methods
ConnectAsync(CancellationToken)
Establishes a connection (client-side).
Task ConnectAsync(CancellationToken ct = default)