Feature

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

Feature installation object

Companion Object Properties

key

Unique key that identifies a feature

Companion Object Functions

install

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

Feature installation script