AjaxOptions interface

Defines the structure of AJAX request

Index

Properties

Properties


beforeSend

● beforeSend?: (xhr: XMLHttpRequest, data: any) => void


contentType

● contentType?: string


data

● data?: any


dataType

● dataType?: string


error

● error?: (error: XMLHttpRequest, status: number, statusMessage: string) => void


success

● success?: (result: any, xhr?: XMLHttpRequest) => void


type

● type?: string


url

● url: string