Skip to content

Interface IServerTransport

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

Represents a server-side transport that accepts incoming connections.

public interface IServerTransport : IAsyncDisposable

IAsyncDisposable

Accepts an incoming connection.

Task<IRpcChannel> AcceptAsync(CancellationToken ct = default)

ct CancellationToken

Task<IRpcChannel>

Starts listening for connections.

Task StartAsync(CancellationToken ct = default)

ct CancellationToken

Task

Stops listening for connections.

Task StopAsync(CancellationToken ct = default)

ct CancellationToken

Task