Function quicksocket::drain_client_messages [−][src]
pub fn drain_client_messages(py: Python<'_>) -> Vec<MessagePayload>
Expand description
Drains all messages pending from all clients and returns them as a list[bytes]. Note that clients are not distinguished, so clients will have to self-identify in their messages, or the library will need to change to return messages per-client or bundled with client connection info.