ktor-websockets / io.ktor.websocket / WebSockets / Feature

Feature

companion object Feature : ApplicationFeature<Application, WebSocketOptions, WebSockets>

Feature installation object.

Companion Object Properties

EXTENSIONS_KEY

val EXTENSIONS_KEY: AttributeKey<List<WebSocketExtension<*>>>

Key for saving configured WebSocket extensions for the specific call.

key

val key: AttributeKey<WebSockets>

Companion Object Functions

install

fun install(pipeline: Application, configure: WebSocketOptions.() -> Unit): WebSockets