Skip to main content

upgrade

Function upgrade 

Source
fn upgrade(
    ws: WebSocketUpgrade,
    start: Start,
    ended: impl Future<Output = ()> + Send + 'static,
) -> Response
Expand description

Upgrade to the pane’s WebSocket and run the pane until it ends (or ended does).