pub fn add_web_socket_route(
        &mut self,
        route: &str,
        // handler, is_async, number of params
        connect_route: (Py<PyAny>, bool, u8),
        close_route: (Py<PyAny>, bool, u8),
        message_route: (Py<PyAny>, bool, u8),
    ) {
        self.router
            .add_websocket_route(route, connect_route, close_route, message_route);
    }
/// Add a new web socket route to the routing tables
/// can be called after the server has been started
Add a new web socket route to the routing tables
can be called after the server has been started
Add a new web socket route to the routing tables can be called after the server has been started
pub fn add_web_socket_route(
        &mut self,
        route: &str,
        // handler, is_async, number of params
        connect_route: (Py<PyAny>, bool, u8),
        close_route: (Py<PyAny>, bool, u8),
        message_route: (Py<PyAny>, bool, u8),
    ) {
        self.router
            .add_websocket_route(route, connect_route, close_route, message_route);
    }
pub fn add_web_socket_route ( & mut self , route : & str , // handler, is_async, number of params connect_route : ( Py < PyAny > , bool , u8 ) , close_route : ( Py < PyAny > , bool , u8 ) , message_route : ( Py < PyAny > , bool , u8 ) , ) { self . router . add_websocket_route ( route , connect_route , close_route , message_route ) ; }
Add a new web socket route to the routing tables
can be called after the server has been started
Add a new web socket route to the routing tables can be called after the server has been started
&mut self
route
&str
connect_route
(Py<PyAny>, bool, u8)
close_route
(Py<PyAny>, bool, u8)
message_route
(Py<PyAny>, bool, u8)
&mut self
route
&str
connect_route
(Py<PyAny>, bool, u8)
close_route
(Py<PyAny>, bool, u8)
message_route
(Py<PyAny>, bool, u8)