Waits for and returns the next complete message on the socket.
Note that the onmessage function is still called, right before this returns.
blocking_api
See Implementation
Waits for and returns the next complete message on the socket.
Note that the onmessage function is still called, right before this returns.