bytes

abstract fun bytes(): ByteArray

Returns the content of this HTTP response as ByteArray. All content is read into memory. Note that the content is consumed calling this function, thus subsequent calls will fail with an exception.

Since

200.2.0