ApiGatewayV1Options
@h4ad/serverless-adapter > ApiGatewayV1Options
(interface) ApiGatewayV1Options
The options to customize the ApiGatewayV1Adapter
Signature:
export interface ApiGatewayV1Options
(property) lowercaseRequestHeaders
Emulates the behavior of Node.js http
module by ensuring all request headers are lowercase.
Signature:
lowercaseRequestHeaders?: boolean;
(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