public static class OutgoingContent.WriteChannelContent
extends OutgoingContent
Variant of a class OutgoingContent
with payload written to ByteWriteChannel
class OutgoingContent
OutgoingContent.ByteArrayContent, OutgoingContent.NoContent, OutgoingContent.ProtocolUpgrade, OutgoingContent.ReadChannelContent, OutgoingContent.WriteChannelContent
Constructor and Description |
---|
WriteChannelContent()
Variant of a
class OutgoingContent with payload written to ByteWriteChannel |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
writeTo(kotlinx.coroutines.io.ByteWriteChannel channel,
kotlin.coroutines.experimental.Continuation<? super kotlin.Unit> p)
Receives channel provided by the engine and writes all data to it
|
getContentLength, getContentType, getHeaders, getProperty, getStatus, setProperty
public WriteChannelContent()
Variant of a class OutgoingContent
with payload written to ByteWriteChannel
class OutgoingContent