RequestHandler class

Provides the RequestHandler.

_module and _id is taken as a parameter.

_module provides the initial details of the request.

And _id is basically the count of the request which is made till the current time.

Inheritance

Constructors

RequestHandler(INetworkingModule _module, int _id)

Properties

cancelReason Future<Exception>
no setter
hashCode int
The hash code for this object.
no setterinherited
isCancelled bool
If the request has been canceled.
no setteroverride
isDone bool
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

cancel([dynamic reason]) → void
If the request is cancel then this will used to set the reason.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
prepareUri(Uri baseUri, Uri requestUri) Uri
Prepare the final URI for making the request.
inherited
response(Request request) Future<IResponse>
Starts the request and provides a IResponse.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited