Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IRequestConfig

Hierarchy

  • IRequestConfig

Index

Properties

Optional auth

auth: IAuth

Set auth when auth isn't setted in custom

Optional authType

authType: "custom" | "base64"

Set the auth type

Optional credentials

credentials: boolean

It sets to use or not credentials in a cross-site by default

see

Credentials

default

false

Optional domain

domain: string

It adds the domain to all the requests

Optional headers

headers: Headers

It set the headers request by default

see

Headers

default

'Content-Type': 'application/json; charset=utf-8'

Optional responseType

responseType: XMLHttpRequestResponseType

Type of response expected by default

see

Response Type

default

json

Generated using TypeDoc