Plugin

Add WebSockets support for ktor http client.

Functions

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

Installs the plugin class for a HttpClient defined at scope.

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

Builds a TPlugin 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 plugin.