Skip to content

Interface IRpcFrameChannel

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

Optional low-allocation transport contract for channels that can transfer ownership of complete pooled frames instead of copying them into a new DotBoxD.Services.Buffers.Payload.

public interface IRpcFrameChannel : IRpcValueTaskChannel, IRpcChannel, IAsyncDisposable

IRpcValueTaskChannel, IRpcChannel, IAsyncDisposable

ReceiveFrameValueAsync(CancellationToken)

Section titled “ ReceiveFrameValueAsync(CancellationToken)”
ValueTask<RpcFrame> ReceiveFrameValueAsync(CancellationToken ct = default)

ct CancellationToken

ValueTask<RpcFrame>

SendFrameValueAsync(PooledBufferWriter, CancellationToken)

Section titled “ SendFrameValueAsync(PooledBufferWriter, CancellationToken)”
ValueTask SendFrameValueAsync(PooledBufferWriter frame, CancellationToken ct = default)

frame PooledBufferWriter

ct CancellationToken

ValueTask