Documentation
¶
Overview ¶
The ws package enables sending and receiving data over a websocket connection.
var ws = require('ws') ws.upgrade(); ws.recv(function(msg) { console.log('Received:', msg); ws.send(ws.TEXT, msg); });
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.