class DefaultRequest
Feature is used to set request default parameters.
companion object Feature : HttpClientFeature<HttpRequestBuilder, DefaultRequest> |
DefaultRequest(builder: HttpRequestBuilder.() -> Unit)
Feature is used to set request default parameters. |
val key: AttributeKey<DefaultRequest>
The AttributeKey for this feature. |
fun install(feature: DefaultRequest, scope: HttpClient): Unit
Installs the feature class for a HttpClient defined at scope. |
|
fun prepare(block: HttpRequestBuilder.() -> Unit): DefaultRequest
Builds a TFeature by calling the block with a TConfig config instance as receiver. |