summaryrefslogtreecommitdiffstats
path: root/testing/xpcshell/node-ws/index.js
blob: 41edb3b81bc186adfeddb9c79b709242fb385002 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
'use strict';

const WebSocket = require('./lib/websocket');

WebSocket.createWebSocketStream = require('./lib/stream');
WebSocket.Server = require('./lib/websocket-server');
WebSocket.Receiver = require('./lib/receiver');
WebSocket.Sender = require('./lib/sender');

WebSocket.WebSocket = WebSocket;
WebSocket.WebSocketServer = WebSocket.Server;

module.exports = WebSocket;