Skip to content

Taxum / @taxum/core / middleware/sensitive-headers / SetSensitiveRequestHeadersLayer

Class: SetSensitiveRequestHeadersLayer

Defined in: middleware/sensitive-headers.ts:30

Marks request headers as sensitive.

See

HeaderValue

Implements

Constructors

Constructor

new SetSensitiveRequestHeadersLayer(headers): SetSensitiveRequestHeadersLayer

Defined in: middleware/sensitive-headers.ts:33

Parameters

headers

string[]

Returns

SetSensitiveRequestHeadersLayer

Methods

layer()

layer(inner): HttpService

Defined in: middleware/sensitive-headers.ts:37

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