Skip to main content

handle_socket

Function handle_socket 

Source
pub async fn handle_socket(socket: WebSocket, registry: Arc<ChannelRegistry>)
Expand description

Drive a single upgraded WebSocket connection: greet with welcome, ping on a heartbeat, and dispatch inbound ActionCable frames until the socket closes.