UNPKG

@aikidosec/firewall

Version:

Zen by Aikido is an embedded Web Application Firewall that autonomously protects Node.js apps against common and critical attacks

10 lines (9 loc) 330 B
import { IncomingMessage } from "http"; import { Context } from "../../agent/Context"; export type RestifyRequest = IncomingMessage & { href: () => string; params?: Record<string, string>; query?: Record<string, string>; body?: unknown; }; export declare function contextFromRequest(req: RestifyRequest): Context;