Options
All
  • Public
  • Public/Protected
  • All
Menu

Handler that sets custom headers on the response.

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

  • new HeaderHandler(headers: Record<string, string>): HeaderHandler

Properties

Private Readonly headers

headers: Record<string, string>

Methods

canHandle

handle

  • handle(__namedParameters: { response: HttpResponse }): Promise<void>

handleSafe