Skip to content

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

Class: SetSensitiveResponseHeaders

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

Marks response headers as sensitive.

See

HeaderValue

Implements

Constructors

Constructor

new SetSensitiveResponseHeaders(inner, headers): SetSensitiveResponseHeaders

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

Parameters

inner

HttpService

headers

string[]

Returns

SetSensitiveResponseHeaders

Methods

invoke()

invoke(req): Promise<HttpResponse>

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

Process the request and return the response asynchronously.

Parameters

req

HttpRequest

Returns

Promise<HttpResponse>

Implementation of

Service.invoke