Skip to main content

json_websocket

Function json_websocket 

Source
pub fn json_websocket<T>(json_websocket_handler: T) -> WebSocket<JsonHandler<T>>
Expand description

builds a new trillium handler from the provided JsonWebSocketHandler. Alias for WebSocket::new_json