WebSocketBase.waitForNextMessage

WebSocketFrame waitForNextMessage()

Waits for and returns the next complete message on the socket.

Note that the onmessage function is still called, right before this returns. Group: blocking_api