Function thruster_socketio::handle_io [−][src]
pub async fn handle_io<T: Context + SocketIOContext + Default>(
context: T,
handler: fn(_: SocketIOSocket) -> Pin<Box<dyn Future<Output = Result<SocketIOSocket, ()>> + Send>>
) -> MiddlewareResult<T>