Description
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.

15 lines
432 B

4 years ago
const Socket = require("./socket");
module.exports = (uri, opts) => new Socket(uri, opts);
/**
* Expose deps for legacy compatibility
* and standalone browser access.
*/
module.exports.Socket = Socket;
module.exports.protocol = Socket.protocol; // this is an int
module.exports.Transport = require("./transport");
module.exports.transports = require("./transports/index");
module.exports.parser = require("engine.io-parser");