lambda-request-handler
Version:
An npm module that allows your Node.js web applications to be deployed as an AWS Lambda function and invoked in response to API Gateway, HTTP API, or Application Load Balancer requests.
7 lines (6 loc) • 302 B
TypeScript
import { EventEmitter } from "events";
import { IncomingMessage, ServerResponse } from "http";
export declare class HapiListener extends EventEmitter {
listen(_port: any, maybeCallback?: any, maybeCallback2?: any): void;
get handler(): (req: IncomingMessage, res: ServerResponse) => boolean;
}