/// import { ServerResponse } from "http"; import { JRPCExceptionAbstract, ResponseExtendAbstract, TypeJRPCResponse } from "../../../core"; /** * HTTP Response Extender * * @licence MIT * @author Mahsum UREBE */ export declare class HttpResponseExtend extends ResponseExtendAbstract { readonly response: ServerResponse; /** * Response sended * * @type {boolean} * @protected */ protected isFinished: boolean; constructor(response: ServerResponse); /** * Send JSONRPC response to client * * @param {Error|Error[]|object|object[]} body Response Body * * @return {Promise} */ send(body?: JRPCExceptionAbstract | JRPCExceptionAbstract[] | TypeJRPCResponse | TypeJRPCResponse[]): void; }