The response content of an HTTP response.
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.
Returns an InputStream that reads the content of this HTTP response. Note that the content is consumed when reading out the input stream, thus subsequent calls will fail with an exception.
Returns the number of bytes that will be returned by bytes, or
null if unknown.
Returns the actual content type of the returned content.
Returns a new InputStream that can read data from this HTTP response body without consuming it.
Returns the content of an HTTP Response as a string.
abstract override fun close()