Interface IServerTransport
Represents a server-side transport that accepts incoming connections.
public interface IServerTransport : IAsyncDisposable
- Inherited Members
Methods
AcceptAsync(CancellationToken)
Accepts an incoming connection.
Task<IRpcChannel> AcceptAsync(CancellationToken ct = default)
Parameters
Returns
StartAsync(CancellationToken)
Starts listening for connections.
Task StartAsync(CancellationToken ct = default)
Parameters
Returns
StopAsync(CancellationToken)
Stops listening for connections.
Task StopAsync(CancellationToken ct = default)