Taxum / @taxum/core / middleware/sensitive-headers / SetSensitiveResponseHeadersLayer
Class: SetSensitiveResponseHeadersLayer
Defined in: middleware/sensitive-headers.ts:47
Marks response headers as sensitive.
See
Implements
Constructors
Constructor
new SetSensitiveResponseHeadersLayer(
headers
):SetSensitiveResponseHeadersLayer
Defined in: middleware/sensitive-headers.ts:50
Parameters
headers
string
[]
Returns
SetSensitiveResponseHeadersLayer
Methods
layer()
layer(
inner
):HttpService
Defined in: middleware/sensitive-headers.ts:54
Wrap the given service with the middleware, returning a new service that has been decorated with the middleware.