Skip to main content
Version: 3.3.0

HeaderBag

HeaderBag = { get: string | null; } | Record<string, string | null | undefined>

Defined in: src/lib/interfaces/header-bag.interface.ts:9

A minimal bag of HTTP response headers that a response strategy can read by name.

Accepts anything that exposes a .get(name): string | null method (Angular's HttpHeaders, the DOM Headers class) or a plain object keyed by header name. Consumers should not need to convert between them.