Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface HttpRequestOptions

Provides options for the http requests.

Hierarchy

  • HttpRequestOptions

Index

Properties

Optional content

content: string | FormData

Gets or sets the request body.

Optional dontFollowRedirects

dontFollowRedirects: boolean

Gets or sets wether to not follow server's redirection responses.

Optional headers

headers: any

Gets or sets the request headers in JSON format.

method

method: string

Gets or sets the request method.

Optional timeout

timeout: number

Gets or sets the request timeout in milliseconds.

url

url: string

Gets or sets the request url.

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method