open class DefaultHttpRequest : HttpRequest
Default HttpRequest implementation.
DefaultHttpRequest(call: HttpClientCall, data: HttpRequestData)
Default HttpRequest implementation. |
open val attributes: Attributes
Typed Attributes associated to this call serving as a lightweight container. |
|
open val call: HttpClientCall
The associated HttpClientCall containing both the underlying HttpClientCall.request and HttpClientCall.response. |
|
open val content: OutgoingContent
An OutgoingContent representing the request body |
|
open val coroutineContext: <ERROR CLASS> |
|
open val headers: Headers |
|
open val method: HttpMethod
The HttpMethod or HTTP VERB used for this request. |
|
open val url: Url
The Url representing the endpoint and the uri for this request. |
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. |