Provides an extension method for IncomingFrame to detach its payload.
public static class IncomingFrameExtensions
- Inherited Members
Detaches the payload from the incoming frame. The caller takes ownership of the returned payload pipe reader, and Payload becomes invalid.
public static PipeReader DetachPayload(this IncomingFrame incoming)
The incoming frame.
The payload pipe reader.