Feature

companion object Feature : 
    HttpClientFeature<Config, WebSockets>

Add WebSockets support for ktor http client.

Companion Object Properties

key

The AttributeKey for this feature.

Companion Object Functions

install

fun install(feature: WebSockets, scope: HttpClient): Unit

Installs the feature class for a HttpClient defined at scope.

prepare

fun prepare(block: Config.() -> Unit): WebSockets

Builds a TFeature by calling the block with a TConfig config instance as receiver.