WebSocketService.prototype.route(): void
Registers a WebSocket route. Paths match exactly; the query string is
ignored for matching and exposed to onOpen instead.
handlers: WebSocketHandlers
The lifecycle callbacks
optional
options: WebSocketRouteOptions
Per-route configuration