You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1234567891011121314 |
- 'use strict';
-
- const WebSocket = require('./backend');
- const Server = require('./server');
- const Socket = require('./socket');
-
- exports.WebSocket = WebSocket;
- exports.Server = Server;
- exports.server = () => new Server();
- exports.createServer = Server.createServer.bind(Server);
- exports.attach = Server.attach.bind(Server);
- exports.Socket = Socket;
- exports.socket = () => new Socket();
- exports.connect = Socket.connect.bind(Socket);
|