nodejs-websocket
Advanced tools
Changelog
1.7.1
Changelog
1.7.0
Connection#error
event on invalid handshake response with the reason why it was rejectedvalidProtocols
and selectProtocol
options to ws.createServer()
protocols
option to ws.connect
Connection#protocols
and Connection#protocol
Changelog
1.5.0
Connection#send
as a short hand for Connection#sendText
or Connection#sendBinary
, depending on the data type (string or Buffer)Changelog
1.4.0
extraHeaders
option in ws.connect(URL, [options], [callback])
to let one add custom headers to the HTTP handshake request