Skip to main content

ApiGatewayV2Options

@h4ad/serverless-adapter > ApiGatewayV2Options

(interface) ApiGatewayV2Options

The options to customize the ApiGatewayV2Adapter

Signature:

export interface ApiGatewayV2Options 

(property) stripBasePath

Strip base path for custom domains

Signature:

stripBasePath?: string;

(property) throwOnChunkedTransferEncoding

Throw an exception when you send the transfer-encoding=chunked , currently, API Gateway doesn't support chunked transfer. If this is set to false , we will remove the transfer-encoding header from the response and buffer the response body while we remove the special characters inserted by the chunked encoding.

Signature:

throwOnChunkedTransferEncoding?: boolean;

Remarks

To learn more https://github.com/H4ad/serverless-adapter/issues/165