Base class for both HttpResponse and HttpHeaderResponse.

Type Parameters

  • T

Hierarchy (View Summary)

Constructors

Properties

Methods

Constructors

Properties

body: null | T
headers: HttpHeaders
ok: boolean
status: number
statusText: string
type: Response = HttpEventType.Response
url: null | string

Methods

  • Type Parameters

    • D = T

    Parameters

    • update:
          | undefined
          | {
              body?: unknown;
              headers?: HttpHeaders;
              status?: number;
              statusText?: string;
              url?: string;
          } = {}

    Returns HttpResponse<D>