Interface IServerTransport
Namespace: DotBoxD.Services.Transport
Assembly: DotBoxD.Services.dll
Represents a server-side transport that accepts incoming connections.
public interface IServerTransport : IAsyncDisposableImplements
Section titled “Implements”Methods
Section titled “Methods”AcceptAsync(CancellationToken)
Section titled “ AcceptAsync(CancellationToken)”Accepts an incoming connection.
Task<IRpcChannel> AcceptAsync(CancellationToken ct = default)Parameters
Section titled “Parameters”Returns
Section titled “Returns”StartAsync(CancellationToken)
Section titled “ StartAsync(CancellationToken)”Starts listening for connections.
Task StartAsync(CancellationToken ct = default)Parameters
Section titled “Parameters”Returns
Section titled “Returns”StopAsync(CancellationToken)
Section titled “ StopAsync(CancellationToken)”Stops listening for connections.
Task StopAsync(CancellationToken ct = default)