Taxum / @taxum/core / middleware/sensitive-headers / SetSensitiveHeadersLayer
Class: SetSensitiveHeadersLayer
Defined in: middleware/sensitive-headers.ts:10
Mark headers as sensitive on both requests and responses.
See
Implements
Constructors
Constructor
new SetSensitiveHeadersLayer(
headers
):SetSensitiveHeadersLayer
Defined in: middleware/sensitive-headers.ts:13
Parameters
headers
string
[]
Returns
SetSensitiveHeadersLayer
Methods
layer()
layer(
inner
):HttpService
Defined in: middleware/sensitive-headers.ts:17
Wrap the given service with the middleware, returning a new service that has been decorated with the middleware.