class HttpResponse : CoroutineScope, HttpMessage
HttpResponse() |
val coroutineContext: <ERROR CLASS> |
|
val headers: Headers |
suspend fun HttpResponse.
Efficiently discards the remaining bytes of HttpResponse.content. |
|
fun CoroutineScope.mapEngineExceptions(input: ByteReadChannel, request: HttpRequestData): ByteReadChannel
Returns ByteReadChannel with ByteChannel.close handler that returns SocketTimeoutException instead of SocketTimeoutException. fun CoroutineScope.mapEngineExceptions(output: ByteWriteChannel, request: HttpRequestData): ByteWriteChannel
Returns ByteWriteChannel with ByteChannel.close handler that returns SocketTimeoutException instead of SocketTimeoutException. |
|
suspend fun HttpResponse.
Exactly reads count bytes of the HttpResponse.content. suspend fun HttpResponse.
Reads the whole HttpResponse.content if Content-Length was specified. Otherwise it just reads one byte. |
|
suspend fun HttpResponse. |