/var/www/greso.tech/server/nsm/node_modules/engine.io/build/transports
NameSizeModeActions
index.d.ts3650644editdlrm
index.js5780644editdlrm
polling-jsonp.d.ts5470644editdlrm
polling-jsonp.js17640644editdlrm
polling.d.ts22160644editdlrm
polling.js100330644editdlrm
websocket.d.ts9900644editdlrm
websocket.js38130644editdlrm
Edit: /var/www/greso.tech/server/nsm/node_modules/engine.io/build/transports/index.js (578B)
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const polling_1 = require("./polling"); const polling_jsonp_1 = require("./polling-jsonp"); const websocket_1 = require("./websocket"); exports.default = { polling: polling, websocket: websocket_1.WebSocket, }; /** * Polling polymorphic constructor. * * @api private */ function polling(req) { if ("string" === typeof req._query.j) { return new polling_jsonp_1.JSONP(req); } else { return new polling_1.Polling(req); } } polling.upgradesTo = ["websocket"];