Options for this request.
Optional
id?: stringGet the number of elapsed milliseconds since this request was created.
The number of milliseconds since this request was made.
Get this request's ID.
The ID.
Retrieve a promise for this request which will be resolved/rejected when the respective methods are called on this Request.
A promise
Resolve or reject the promise depending on the outcome of this promise.
The promise whose resolution determines the outcome of this request.
Reject a request. This should be invoked for requests which failed to be processed correctly.
The thing to reject with.
Resolve a request. This should be invoked for the successful processing of this request. This doesn't necessarily mean that the request was sent through, e.g. suppressing AS virtual users' messages is still a success.
The thing to resolve with.
Construct a new Request.