Skip to main content

BothValueHeaders

@h4ad/serverless-adapter > BothValueHeaders

(type) BothValueHeaders

The record that represents the headers that can both single or multiple values in the value

Signature:

export type BothValueHeaders = Record<string, string | string[] | undefined>;

Example

\{ 'Accept-Encoding': ['gzip', 'deflate', 'br'], 'Host': 'xyz.execute-api.us-east-1.amazonaws.com' }