Skip to main content

serve

Function serve 

Source
pub(super) async fn serve(
    socket: &mut TcpSocket<'_>,
    key: &str,
) -> Result<(), ()>
Expand description

Run one WebSocket session until close; the socket stays borrowed in.