Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
27
async fn handle_socket_upgrade(socket: WebSocket, state: AppState) {
28
WsConn::new(socket, state).run().await;
29
}
30
31
struct WsConn {
32
socket: WebSocket,
Callers
1
ws_handler
Function · 0.85
Calls
1
run
Method · 0.45
Tested by
no test coverage detected