index.js 376 B

12345678910111213
  1. 'use strict';
  2. const WebSocket = require('./lib/websocket');
  3. WebSocket.createWebSocketStream = require('./lib/stream');
  4. WebSocket.Server = require('./lib/websocket-server');
  5. WebSocket.Receiver = require('./lib/receiver');
  6. WebSocket.Sender = require('./lib/sender');
  7. WebSocket.WebSocket = WebSocket;
  8. WebSocket.WebSocketServer = WebSocket.Server;
  9. module.exports = WebSocket;