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, IAsyncDisposableImplements
Section titled “Implements”IRpcValueTaskChannel, IRpcChannel, IAsyncDisposable
Methods
Section titled “Methods”ReceiveFrameValueAsync(CancellationToken)
Section titled “ ReceiveFrameValueAsync(CancellationToken)”ValueTask<RpcFrame> ReceiveFrameValueAsync(CancellationToken ct = default)Parameters
Section titled “Parameters”Returns
Section titled “Returns”SendFrameValueAsync(PooledBufferWriter, CancellationToken)
Section titled “ SendFrameValueAsync(PooledBufferWriter, CancellationToken)”ValueTask SendFrameValueAsync(PooledBufferWriter frame, CancellationToken ct = default)Parameters
Section titled “Parameters”frame PooledBufferWriter