MCPcopy Create free account
hub / github.com/Botloader/botloader / handle_socket_upgrade

Function handle_socket_upgrade

components/webapi/src/routes/ws.rs:27–29  ·  view source on GitHub ↗
(socket: WebSocket, state: AppState)

Source from the content-addressed store, hash-verified

25}
26
27async fn handle_socket_upgrade(socket: WebSocket, state: AppState) {
28 WsConn::new(socket, state).run().await;
29}
30
31struct WsConn {
32 socket: WebSocket,

Callers 1

ws_handlerFunction · 0.85

Calls 1

runMethod · 0.45

Tested by

no test coverage detected