Options
All
  • Public
  • Public/Protected
  • All
Menu

Class HttpRequest<T>

Type parameters

  • T

Hierarchy

  • HttpRequest

Index

Constructors

constructor

Properties

Readonly body

body: HttpBodyType<T>

Readonly headers

headers: HttpHeaders

Readonly hydrate

hydrate: boolean = true

Readonly method

Readonly observe

observe: HttpObserveType = "body"

Readonly params

params: HttpParams

Readonly reportProgress

reportProgress: boolean = false

Readonly responseType

responseType: HttpResponseType = "json"

Readonly url

url: string

Readonly urlWithParams

urlWithParams: string

Readonly withCredentials

withCredentials: boolean = false

Accessors

transferKey

  • get transferKey(): string

Methods

clone

detectContentTypeHeader

  • detectContentTypeHeader(): string | null

serializeBody

  • serializeBody(): ArrayBuffer | Blob | FormData | string | null

toFetchRequest__

  • toFetchRequest__(): Request

toInitRequest

  • toInitRequest(): RequestInit

toObject

  • toObject(): {}