2021-12-04 19:00:33 +00:00
|
|
|
'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');
|
|
|
|
|
2021-12-06 15:34:00 +00:00
|
|
|
WebSocket.WebSocket = WebSocket;
|
|
|
|
WebSocket.WebSocketServer = WebSocket.Server;
|
|
|
|
|
2021-12-04 19:00:33 +00:00
|
|
|
module.exports = WebSocket;
|