@aikidosec/firewall
Version:
Zen by Aikido is an embedded Web Application Firewall that autonomously protects Node.js apps against common and critical attacks
11 lines (10 loc) • 327 B
TypeScript
import type { IncomingMessage, ServerResponse } from "http";
import { Agent } from "../../agent/Agent";
type BodyReadResult = {
success: true;
body: string;
} | {
success: false;
};
export declare function readBodyStream(req: IncomingMessage, res: ServerResponse, agent: Agent): Promise<BodyReadResult>;
export {};