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