Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface HttpRequest

Hierarchy

  • HttpRequest

Index

Properties

Optional body

Request body to send to the server (optional).

credentials

credentials: "omit" | "same-origin" | "include"

The credentials property as used in the fetch API and mapped to the XmlHttpRequest as follows:

'include' ... withCredentials = true
'omit'    ... withCredentials = false

headers

headers: Header[]

Headers of this request

method

HTTP method of the request

responseType

responseType: HttpResponseType

Type we expect the HttpResponse.body to be.

url

url: string

URL of the request

Generated using TypeDoc