Skip to content

breeze-client / AjaxRequest

Interface: AjaxRequest ​

Defined in: src/config/interface-registry.ts:52

Request sent by AjaxAdapter.

Deprecated ​

Part of the ajax adapter contract, which Breeze 3 no longer needs.

Properties ​

adapter ​

adapter: AjaxAdapter

Defined in: src/config/interface-registry.ts:54

AjaxAdapter that initiated the request


config ​

config: RequestInit

Defined in: src/config/interface-registry.ts:56

Request configuration


dsaConfig ​

dsaConfig: AjaxConfig

Defined in: src/config/interface-registry.ts:58

config from the DataServiceAdapter that called the AjaxAdapter


error ​

error: (status, statusText, body, response, errorThrown) => void

Defined in: src/config/interface-registry.ts:60

Function called on response error

Parameters ​

status ​

number

statusText ​

string

body ​

string | null

response ​

Response | null

errorThrown ​

any

Returns ​

void


success ​

success: (data, statusText, response) => void

Defined in: src/config/interface-registry.ts:62

Function called on response success

Parameters ​

data ​

any

statusText ​

string

response ​

Response

Returns ​

void

Released under the MIT License.