Table of Contents

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 Payload.

public interface IRpcFrameChannel : IRpcValueTaskChannel, IRpcChannel, IAsyncDisposable
Inherited Members

Methods

ReceiveFrameValueAsync(CancellationToken)

ValueTask<RpcFrame> ReceiveFrameValueAsync(CancellationToken ct = default)

Parameters

ct CancellationToken

Returns

ValueTask<RpcFrame>

SendFrameValueAsync(PooledBufferWriter, CancellationToken)

ValueTask SendFrameValueAsync(PooledBufferWriter frame, CancellationToken ct = default)

Parameters

frame PooledBufferWriter
ct CancellationToken

Returns

ValueTask