public static class OutgoingContent.ReadChannelContent
extends OutgoingContent
Variant of a class OutgoingContent with payload read from ByteReadChannel
class OutgoingContentOutgoingContent.ByteArrayContent, OutgoingContent.NoContent, OutgoingContent.ProtocolUpgrade, OutgoingContent.ReadChannelContent, OutgoingContent.WriteChannelContent| Constructor and Description |
|---|
ReadChannelContent()
Variant of a
class OutgoingContent with payload read from ByteReadChannel |
| Modifier and Type | Method and Description |
|---|---|
kotlinx.coroutines.io.ByteReadChannel |
readFrom()
Provides ByteReadChannel for the content
|
kotlinx.coroutines.io.ByteReadChannel |
readFrom(kotlin.ranges.LongRange range)
Provides ByteReadChannel for the given range of the content
|
getContentLength, getContentType, getHeaders, getProperty, getStatus, setPropertypublic ReadChannelContent()
Variant of a class OutgoingContent with payload read from ByteReadChannel
class OutgoingContent