HttpBody

Properties

Link copied to clipboard
abstract val contentLength: Long

The number of bytes that will be written when calling writeTo, or -1 if that count is unknown.

Link copied to clipboard
abstract val contentType: String

Functions

Link copied to clipboard
abstract fun writeTo(bufferedSink: BufferedSink)

This can be called several times