Type alias GetCustomHeadersFromRequestOptions

GetCustomHeadersFromRequestOptions: {
    includeXForwardedHeaders?: boolean;
}

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

Type declaration

  • Optional includeXForwardedHeaders?: 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.

    Default

    false
    

Generated using TypeDoc