UNPKG

serverless-spy

Version:

CDK-based library for writing elegant integration tests on AWS serverless architecture and an additional web console to monitor events in real time.

7 lines (6 loc) 423 B
import { BodyLengthCalculator, BuildHandlerOptions, BuildMiddleware, Pluggable } from "@smithy/types"; export declare function contentLengthMiddleware(bodyLengthChecker: BodyLengthCalculator): BuildMiddleware<any, any>; export declare const contentLengthMiddlewareOptions: BuildHandlerOptions; export declare const getContentLengthPlugin: (options: { bodyLengthChecker: BodyLengthCalculator; }) => Pluggable<any, any>;