Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nodejs-websocket

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nodejs-websocket - npm Package Versions

2

1.7.2

Diff

sitegui
published 1.7.1 •

Changelog

Source

1.7.1

  • Fixed: two errors were emitted when trying to sendText to a closed connection while there was another pending binary write operation.
sitegui
published 1.7.0 •

Changelog

Source

1.7.0

  • Added: emit Connection#error event on invalid handshake response with the reason why it was rejected
  • Added: support for protocol negotiation
  • Added: validProtocols and selectProtocol options to ws.createServer()
  • Added: protocols option to ws.connect
  • Added: Connection#protocols and Connection#protocol
sitegui
published 1.6.0 •

Changelog

Source

1.6.0

  • Added: Server#close as a short hand for Server#socket.close
sitegui
published 1.5.0 •

Changelog

Source

1.5.0

  • Added: Connection#send as a short hand for Connection#sendText or Connection#sendBinary, depending on the data type (string or Buffer)
sitegui
published 1.4.1 •

Changelog

Source

1.4.1

  • Added: example to README
sitegui
published 1.4.0 •

Changelog

Source

1.4.0

  • Added: extraHeaders option in ws.connect(URL, [options], [callback]) to let one add custom headers to the HTTP handshake request
sitegui
published 1.3.0 •

Changelog

Source

1.3.0

  • Added: Connection#sendPing([data=''])
  • Added: pong(data) event
sitegui
published 1.2.1 •

sitegui
published 1.2.0 •

2
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc