UI Framework ReferenceIRequestModel

Interface: IRequestModel

Provides HTTP request properties.

Hierarchy

  • IRequestModel

Index

Properties

Properties

enabled

enabled: boolean

Defined in src/widgets/au-widget-ajax/IAuWidgetAjaxConfig.ts:62

If false, the request will not be executed.


headers

headers: object

Defined in src/widgets/au-widget-ajax/IAuWidgetAjaxConfig.ts:68

A dictionary of HTTP headers sent along with the request.

Type declaration:

  • [ key: string]: string

method

method: string

Defined in src/widgets/au-widget-ajax/IAuWidgetAjaxConfig.ts:74

An HTTP method.


request

request: any

Defined in src/widgets/au-widget-ajax/IAuWidgetAjaxConfig.ts:70

The request body.


responseType

responseType: ResponseType

Defined in src/widgets/au-widget-ajax/IAuWidgetAjaxConfig.ts:72

Defines how to interpret the response received from the server.


url

url: string

Defined in src/widgets/au-widget-ajax/IAuWidgetAjaxConfig.ts:76

A URL that is used to accept requests.