Function handle_socket

Source
pub async fn handle_socket(
    socket: WebSocket,
    ctx: Arc<WebSocketContext>,
    remote_address: SocketAddr,
    path: String,
)
Expand description

Actual websocket statemachine (one will be spawned per connection)