WebSocket.isMessageBuffered

Is there a message in the buffer already? If true, waitForNextMessage is guaranteed to return immediately. If false, check isDataPending as the next step.

class WebSocket
bool
isMessageBuffered
()

See Also

Meta