AjaxRequest

interface AjaxRequest {
  url?: string;
  body?: any;
  user?: string;
  async?: boolean;
  method?: string;
  headers?: Object;
  timeout?: number;
  password?: string;
  hasContent?: boolean;
  crossDomain?: boolean;
  withCredentials?: boolean;
  createXHR?: () => XMLHttpRequest;
  progressSubscriber?: Subscriber<any>;
  responseType?: string;
}

Propiedades

PropiedadTipoDescripción

url

string

body

any

user

string

async

boolean

method

string

headers

Object

timeout

number

password

string

hasContent

boolean

crossDomain

boolean

withCredentials

boolean

createXHR

() => XMLHttpRequest

progressSubscriber

Subscriber

responseType

string

Recursos adicionales

Documentación oficial en inglés

Last updated