Skip to content

Commit

Permalink
websocket: document ws require
Browse files Browse the repository at this point in the history
  • Loading branch information
rauchg committed Jan 22, 2014
1 parent 3655acd commit 3841d7b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion lib/transports/websocket.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,18 @@
*/

var Transport = require('../transport');
var WebSocket = require('ws');
var parser = require('engine.io-parser');
var util = require('../util');
var debug = require('debug')('engine.io-client:websocket');

/**
* `ws` exposes a WebSocket-compatible interface in
* Node, or the `WebSocket` or `MozWebSocket` globals
* in the browser.
*/

var WebSocket = require('ws');

/**
* Module exports.
*/
Expand Down

0 comments on commit 3841d7b

Please sign in to comment.