Skip to content

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

Class: SetSensitiveRequestHeaders

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

Marks request headers as sensitive.

See

HeaderValue

Implements

Constructors

Constructor

new SetSensitiveRequestHeaders(inner, headers): SetSensitiveRequestHeaders

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

Parameters

inner

HttpService

headers

string[]

Returns

SetSensitiveRequestHeaders

Methods

invoke()

invoke(req): HttpResponse | Promise<HttpResponse>

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

Process the request and return the response asynchronously.

Parameters

req

HttpRequest

Returns

HttpResponse | Promise<HttpResponse>

Implementation of

Service.invoke