mirror of
https://github.com/JasonYANG170/IOTConnect-Web.git
synced 2024-11-27 14:16:34 +00:00
14 lines
376 B
JavaScript
14 lines
376 B
JavaScript
|
'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;
|