@aikidosec/firewall
Version:
Zen by Aikido is an embedded Web Application Firewall that autonomously protects Node.js apps against common and critical attacks
7 lines (6 loc) • 342 B
TypeScript
import { Context } from "../../../agent/Context";
import { ServerHttp2Stream, IncomingHttpHeaders } from "http2";
/**
* Extracts required information from the http2 stream and headers to create a context object.
*/
export declare function contextFromStream(stream: ServerHttp2Stream, headers: IncomingHttpHeaders, module: string): Context;