Skip to main content

Function: extractAdaptHeaders()

function extractAdaptHeaders(request): IKeyValue;

Defined in: helpers.ts:31

Extracts adapt headers from a request and creates a new object

Parameters

ParameterTypeDescription
requestHttpRequestHttpRequest

Returns

IKeyValue

A new header dictionary with a new 'x-adapt-handler' value if applicable