pub fn websocket<H>(websocket_handler: H) -> WebSocket<H> where
    H: WebSocketHandler
Expand description

Builds a new trillium handler from the provided WebSocketHandler. Alias for WebSocket::new