You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
varserver=newWebSocketServer("ws://127.0.0.1:9099/");server.onopen=function(client){client.send("foo");// does not work}server.onmessage=function(client,ev){}server.onclose=function(client){}
If the send() operation is delayed (e.g. setTimeout()), it works as expected.
It's also worth trying using regular Socket().
The text was updated successfully, but these errors were encountered:
If the send() operation is delayed (e.g. setTimeout()), it works as expected.
It's also worth trying using regular Socket().
The text was updated successfully, but these errors were encountered: