WriteChannelContent

Description TODO

Author

M8Test, [email protected], https://m8test.com

Functions

Link copied to clipboard
abstract fun setContentLength(contentLength: Long)

明确设置请求的 Content-Length 头部。

Link copied to clipboard
abstract fun setContentType(type: (ContentTypes) -> ContentType)

明确设置请求的 Content-Type 头部。

Link copied to clipboard
abstract fun writeTo(channel: (CoroutineScope, ByteWriteChannel) -> Job)

设置用于 流式写出请求体 的回调函数。