For those familiar with tungstenite, is there a non blocking version of WebSocket in tungstenite::protocol - Rust ?
There is a related WebSocket in tungstenite::protocol - Rust but I'm not sure if this checks for : "is the socket still open" or "there is a full message"
In particular, the behavior I want is:
- if there is a full message, read it
- if there is not a full message, immediately return NONE
In particular, the behaviour I do NOT want is: block waiting for rest of message.