ChannelContent
Variant of an HttpBody with a streaming payload read from an SdkByteReadChannel
Inherited properties
Link copied to clipboard
Specifies the length of this HttpBody content If null it is assumed to be a streaming source using e.g. Transfer-Encoding: Chunked
Functions
Link copied to clipboard
Provides SdkByteReadChannel that will be sent to peer. Replayable streams (HttpBody.isOneShot = false) MUST provide a fresh channel every time readFrom is invoked.
Inherited functions
Link copied to clipboard
Convert an HttpBody variant to the corresponding ByteStream variant or null if empty.