Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 18.117.106.206
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
wb /
node_modules /
engine.io /
build /
Delete
Unzip
Name
Size
Permission
Date
Action
parser-v3
[ DIR ]
drwxrwxr-x
2022-08-30 11:49
transports
[ DIR ]
drwxrwxr-x
2022-08-30 11:49
transports-uws
[ DIR ]
drwxrwxr-x
2022-08-30 11:49
engine.io.d.ts
966
B
-rw-rw-r--
2022-08-30 11:49
engine.io.js
2.01
KB
-rw-rw-r--
2022-08-30 11:49
server.d.ts
6.34
KB
-rw-rw-r--
2022-08-30 11:49
server.js
21.07
KB
-rw-rw-r--
2022-08-30 11:49
socket.d.ts
3.41
KB
-rw-rw-r--
2022-08-30 11:49
socket.js
15.39
KB
-rw-rw-r--
2022-08-30 11:49
transport.d.ts
1.84
KB
-rw-rw-r--
2022-08-30 11:49
transport.js
2.74
KB
-rw-rw-r--
2022-08-30 11:49
userver.d.ts
1.36
KB
-rw-rw-r--
2022-08-30 11:49
userver.js
7.26
KB
-rw-rw-r--
2022-08-30 11:49
Save
Rename
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Transport = void 0; const events_1 = require("events"); const parser_v4 = require("engine.io-parser"); const parser_v3 = require("./parser-v3/index"); const debug_1 = require("debug"); const debug = (0, debug_1.default)("engine:transport"); /** * Noop function. * * @api private */ function noop() { } class Transport extends events_1.EventEmitter { /** * Transport constructor. * * @param {http.IncomingMessage} request * @api public */ constructor(req) { super(); this.readyState = "open"; this.discarded = false; this.protocol = req._query.EIO === "4" ? 4 : 3; // 3rd revision by default this.parser = this.protocol === 4 ? parser_v4 : parser_v3; } get readyState() { return this._readyState; } set readyState(state) { debug("readyState updated from %s to %s (%s)", this._readyState, state, this.name); this._readyState = state; } /** * Flags the transport as discarded. * * @api private */ discard() { this.discarded = true; } /** * Called with an incoming HTTP request. * * @param {http.IncomingMessage} request * @api protected */ onRequest(req) { debug("setting request"); this.req = req; } /** * Closes the transport. * * @api private */ close(fn) { if ("closed" === this.readyState || "closing" === this.readyState) return; this.readyState = "closing"; this.doClose(fn || noop); } /** * Called with a transport error. * * @param {String} message error * @param {Object} error description * @api protected */ onError(msg, desc) { if (this.listeners("error").length) { const err = new Error(msg); // @ts-ignore err.type = "TransportError"; // @ts-ignore err.description = desc; this.emit("error", err); } else { debug("ignored transport error %s (%s)", msg, desc); } } /** * Called with parsed out a packets from the data stream. * * @param {Object} packet * @api protected */ onPacket(packet) { this.emit("packet", packet); } /** * Called with the encoded packet data. * * @param {String} data * @api protected */ onData(data) { this.onPacket(this.parser.decodePacket(data)); } /** * Called upon transport close. * * @api protected */ onClose() { this.readyState = "closed"; this.emit("close"); } } exports.Transport = Transport;