getFlattenedHeadersMapAndCookies
@h4ad/serverless-adapter > getFlattenedHeadersMapAndCookies
(function) getFlattenedHeadersMapAndCookies
Transforms a header map into a single value headers and cookies
Signature:
export declare function getFlattenedHeadersMapAndCookies(headersMap: BothValueHeaders): FlattenedHeadersAndCookies;
Parameters
Parameter | Type | Description |
---|---|---|
headersMap | The initial headers |
Returns: