Feature

object Feature : HttpClientFeature<WebSockets.Config, WebSockets>

Add WebSockets support for ktor http client.

Functions

Link copied to clipboard
open override fun install(feature: WebSockets, scope: HttpClient)

Installs the feature class for a HttpClient defined at scope.

Link copied to clipboard
open override fun prepare(block: WebSockets.Config.() -> Unit): WebSockets

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

Properties

Link copied to clipboard
open override val key: AttributeKey<WebSockets>

The AttributeKey for this feature.