Type Alias GetCustomHeadersFromRequestOptions

GetCustomHeadersFromRequestOptions: {
    includeXForwardedHeaders?: boolean;
}

The options for the method that extracts custom headers from a request.

Type declaration

  • OptionalincludeXForwardedHeaders?: boolean

    Since the method considers all headers that start with x- as custom headers, setting this to false is the only way to exclude x-forwarded- headers from the list.

    false