/// import { IncomingMessage } from "http"; import { JRPCRequestBodyInterface, RequestExtendAbstract, TypePartialJRPCRequestBody } from "../../../core"; /** * Websocket Request Extender * * @licence MIT * @author Mahsum UREBE */ export declare class WebsocketRequestExtend extends RequestExtendAbstract { protected readonly request: Request; /** * Body * * @type {object} * @protected */ protected readonly body: Partial | Partial[]; constructor(request: Request, bodyString: string); /** * Close Request * * @return {void|Promise>} */ close(): void | Promise; /** * Get request body * * @return {?object|null} */ getBody(): TypePartialJRPCRequestBody | undefined | null; /** * Get request client id * like ip address * * @return {string} */ getClientId(): string; }