Skip to main content

upgrade

Function upgrade 

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

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