Taxum / @taxum/core / middleware/sensitive-headers / SetSensitiveRequestHeaders
Class: SetSensitiveRequestHeaders
Defined in: middleware/sensitive-headers.ts:64
Marks request headers as sensitive.
See
Implements
Constructors
Constructor
new SetSensitiveRequestHeaders(
inner
,headers
):SetSensitiveRequestHeaders
Defined in: middleware/sensitive-headers.ts:68
Parameters
inner
headers
string
[]
Returns
SetSensitiveRequestHeaders
Methods
invoke()
invoke(
req
):HttpResponse
|Promise
<HttpResponse
>
Defined in: middleware/sensitive-headers.ts:73
Process the request and return the response asynchronously.
Parameters
req
Returns
HttpResponse
| Promise
<HttpResponse
>