Server IP : 92.205.26.207 / Your IP : 216.73.216.16 Web Server : Apache System : Linux 207.26.205.92.host.secureserver.net 4.18.0-553.60.1.el8_10.x86_64 #1 SMP Thu Jul 10 04:01:16 EDT 2025 x86_64 User : zikryat ( 1002) PHP Version : 8.3.23 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /home/zikryat/public_html/node_modules/engine.io/build/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
/// <reference types="node" /> import { EventEmitter } from "events"; import { IncomingMessage } from "http"; import { Packet } from "engine.io-parser"; export declare abstract class Transport extends EventEmitter { sid: string; writable: boolean; protocol: number; protected _readyState: string; protected discarded: boolean; protected parser: any; protected req: IncomingMessage & { cleanup: Function; }; protected supportsBinary: boolean; get readyState(): string; set readyState(state: string); /** * Transport constructor. * * @param {http.IncomingMessage} request * @api public */ constructor(req: any); /** * Flags the transport as discarded. * * @api private */ discard(): void; /** * Called with an incoming HTTP request. * * @param {http.IncomingMessage} request * @api protected */ protected onRequest(req: any): void; /** * Closes the transport. * * @api private */ close(fn?: any): void; /** * Called with a transport error. * * @param {String} message error * @param {Object} error description * @api protected */ protected onError(msg: string, desc?: any): void; /** * Called with parsed out a packets from the data stream. * * @param {Object} packet * @api protected */ protected onPacket(packet: Packet): void; /** * Called with the encoded packet data. * * @param {String} data * @api protected */ protected onData(data: any): void; /** * Called upon transport close. * * @api protected */ protected onClose(): void; abstract get supportsFraming(): any; abstract get name(): any; abstract send(packets: any): any; abstract doClose(fn?: any): any; }