pub(super) async fn next_message<S>(
messages: &mut S,
discard: &Discard,
) -> ClientMessageExpand description
Read the next message of a WebSocket client which the server handles, pings and pongs only keep the WebSocket alive. A client which sent a message larger than the server takes may still be busy writing the rest, which would hold up what the server sends, so its input gets dropped.