Response

data class Response(val status: Int, val statusText: String, val headers: Http.Headers, val rawContent: AsyncInputStream, val content: AsyncInputStream)

Constructors

Link copied to clipboard
constructor(status: Int, statusText: String, headers: Http.Headers, rawContent: AsyncInputStream, content: AsyncInputStream)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val status: Int
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
suspend fun readAllBytes(): ByteArray
Link copied to clipboard
suspend fun readAllString(charset: Charset = responseCharset): String
Link copied to clipboard
Link copied to clipboard