Interface IRpcFrameChannel
Optional low-allocation transport contract for channels that can transfer ownership of complete pooled frames instead of copying them into a new Payload.
public interface IRpcFrameChannel : IRpcValueTaskChannel, IRpcChannel, IAsyncDisposable
- Inherited Members
Methods
ReceiveFrameValueAsync(CancellationToken)
ValueTask<RpcFrame> ReceiveFrameValueAsync(CancellationToken ct = default)
Parameters
Returns
SendFrameValueAsync(PooledBufferWriter, CancellationToken)
ValueTask SendFrameValueAsync(PooledBufferWriter frame, CancellationToken ct = default)
Parameters
framePooledBufferWriterctCancellationToken