Class: Request
- Last UpdatedMay 14, 2025
- 1 minute read
This is a generic class representing a handle for any kind of asynchronous request.
Name | Type | Description |
---|---|---|
opt_onprogress |
function(H.util.Request) |
optional
A callback to invoke every time the progress state of the request changes |
opt_total |
number |
optional
The total number of processing steps to complete
the request, the default is |
Members
-
This enumeration defines the supported request states.
Properties:
Methods
-
This method retrieves the number of failed processing steps.
Returns:
Type Description number A value indicating the number of failed processing steps -
This method retrieves the number of completed request processing steps.
Returns:
Type Description number A value indicating how many processing steps have been completed -
getState ()H.util.Request.State
-
This method retrieves the state of the request.
Returns:
Type Description H.util.Request.State A value indicating the state of the request -
This method retrieves the number of processing steps to complete this request.
Returns:
Type Description number A value indicating the number of processing steps.