Interface IRequestModel
Provides HTTP request properties.
Package: ui-framework
Properties
enabled
If false
, the request will not be executed.
Declaration
enabled: boolean
Property Value
Type | Description |
---|---|
boolean | If |
headers
A dictionary of HTTP headers sent along with the request.
Declaration
headers: [key: string]: string
Property Value
Type | Description |
---|---|
[key: string]: string | A dictionary of HTTP headers sent along with the request. |
method
An HTTP method.
Declaration
method: string
Property Value
Type | Description |
---|---|
string | An HTTP method. |
request
The request body.
Declaration
request: any
Property Value
Type | Description |
---|---|
any | The request body. |
responseType
Defines how to interpret the response received from the server.
Declaration
responseType: ResponseType
Property Value
Type | Description |
---|---|
ResponseType | Defines how to interpret the response received from the server. |
url
A URL that is used to accept requests.
Declaration
url: string
Property Value
Type | Description |
---|---|
string | A URL that is used to accept requests. |