Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AjaxRequest

Request sent by AjaxAdapter

Hierarchy

  • AjaxRequest

Index

Properties

adapter

adapter: AjaxAdapter

AjaxAdapter that initiated the request

config

config: RequestInit

Request configuration

dsaConfig

dsaConfig: AjaxConfig

config from the DataServiceAdapter that called the AjaxAdapter

error

error: (status: number, statusText: string, body: string, response: Response, errorThrown: any) => void

Function called on response error

Type declaration

    • (status: number, statusText: string, body: string, response: Response, errorThrown: any): void
    • Parameters

      • status: number
      • statusText: string
      • body: string
      • response: Response
      • errorThrown: any

      Returns void

success

success: (data: any, statusText: string, response: Response) => void

Function called on response success

Type declaration

    • (data: any, statusText: string, response: Response): void
    • Parameters

      • data: any
      • statusText: string
      • response: Response

      Returns void

Generated using TypeDoc