WebSocket.waitForNextMessage

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

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

class WebSocket
WebSocketFrame
waitForNextMessage
()

See Also

Meta