Ajax

request.Ajax

Type parameters

Name Type
T extends object = any

Implements

constructor

new Ajax<T>(options, defaultAjaxOptions?): Ajax<T>

Type parameters

Name Type
T extends object = any

Parameters

Name Type Default value
options Partial<AjaxOptions> undefined
defaultAjaxOptions AjaxOptions Config.prototype.defaultAjaxOptions

Returns

Ajax<T>

Defined in

src/core/request/ajax.ts#47

log

Static log: IRequest[] = []

Defined in

src/core/request/ajax.ts#59


options

options: AjaxOptions

Implementation of

IAjax.options

Defined in

src/core/request/ajax.ts#90

o

get o(): this["options"]

Returns

this["options"]

Implementation of

IAjax.o

Defined in

src/core/request/ajax.ts#91

className

className(): string

Returns

string

Defined in

src/core/request/ajax.ts#41


abort

abort(): Ajax<any>

Returns

Ajax<any>

Implementation of

IAjax.abort

Defined in

src/core/request/ajax.ts#95


send

send(): RejectablePromise<IResponse<T>>

Returns

RejectablePromise<IResponse<T>>

Implementation of

IAjax.send

Defined in

src/core/request/ajax.ts#112


prepareRequest

prepareRequest(): IRequest

Returns

IRequest

Implementation of

IAjax.prepareRequest

Defined in

src/core/request/ajax.ts#205


destruct

destruct(): void

Returns

void

Implementation of

IAjax.destruct

Defined in

jodit/src/core/request/ajax.ts:245