pub fn ws_recv(id: u32) -> Option<WsMessage>Expand description
Poll for the next queued incoming frame on id.
Returns Some(WsMessage) if a frame is available, or None if the queue
is empty. The internal receive buffer is 64 KB; larger frames are
truncated to that size.