ServerWebsocketCallback

typealias ServerWebsocketCallback = (server: Server, msg: ServerMessage, path: String, connection: WebsocketConnection) -> Unit

A callback used to handle WebSocket requests to a #SoupServer.

The callback will be invoked after sending the handshake response back to the client (and is only invoked if the handshake was successful).