Skip to main content

ws_ready_state

Function ws_ready_state 

Source
pub fn ws_ready_state(id: u32) -> u32
Expand description

Query the current ready-state of a connection.

Returns one of WS_CONNECTING, WS_OPEN, WS_CLOSING, or WS_CLOSED.