normanmaurer / netty-in-action

2.08k stars 1.77k forks source link

WebSocket.send() does not return a boolean. #55

Closed hammingweight closed 2 months ago

hammingweight commented 4 years ago

The assumption in index.html is that the WebSocket.send() method returns a boolean result. That was only true of some versions of Gecko and has been fixed in the current release of Gecko.

See the note here https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/send#Exceptions_thrown