Skip to content

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

HeaderValue

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.

Parameters

inner

HttpService

Returns

HttpService

Implementation of

Layer.layer