tock / ai.tock.bot.engine / WebSocketController

# WebSocketController

`object WebSocketController` (source)

Internal object used to manage websocket events.

### Properties

#### websocketEnabled | Is websocket enabled ? `val websocketEnabled: Boolean`

### Functions

#### getPushHandler | `fun getPushHandler(id: String): ((String) -> Unit)?`
#### getReceiveHandler | `fun getReceiveHandler(id: String): ((String) -> Unit)?`
#### registerAuthorizedKey | `fun registerAuthorizedKey(key: String): Unit`
#### setReceiveHandler | `fun setReceiveHandler(id: String, handler: (String) -> Unit): Unit`