Skip to content

RequestHandler

@tsed/platform-serverless

Usage

typescript
import { RequestHandler } from "@tsed/platform/platform-serverless/src/types/domain/ServerlessResponseStream";

See /packages/platform/platform-serverless/src/types/domain/ServerlessResponseStream.ts.

Overview

ts
type RequestHandler = (ev: APIGatewayProxyEventV2, streamResponse?: ServerlessResponseStream, ctx?: Context, callback?: Callback) => unknown | Promise<unknown>;

Released under the MIT License.