public static class HttpSend.Feature implements HttpClientFeature<TConfig,TFeature>
Feature installation object
Modifier and Type | Method and Description |
---|---|
io.ktor.util.AttributeKey<io.ktor.client.features.HttpSend> |
getKey()
The AttributeKey for this feature.
|
void |
install(HttpSend feature,
HttpClient scope)
Installs the feature class for a
class HttpClient defined at scope. |
HttpSend |
prepare(kotlin.jvm.functions.Function1<? super io.ktor.client.features.HttpSend,kotlin.Unit> block)
Builds a TFeature by calling the block with a TConfig config instance as receiver.
|
getKey, install, prepare
public io.ktor.util.AttributeKey<io.ktor.client.features.HttpSend> getKey()
The AttributeKey for this feature.
public HttpSend prepare(kotlin.jvm.functions.Function1<? super io.ktor.client.features.HttpSend,kotlin.Unit> block)
Builds a TFeature by calling the block with a TConfig config instance as receiver.
public void install(HttpSend feature, HttpClient scope)
Installs the feature class for a class HttpClient
defined at scope.
class HttpClient