Skip to main content

send_frame

Function send_frame 

Source
async fn send_frame(socket: &mut WebSocket, frame: Value) -> Result<(), bool>
Expand description

Sends one JSON frame. Err(true) means the socket send failed.