IRequestHandler class abstract

A class which will be used to start the request.

Also provides the response back.

prepareUri will be used to make the final uri with the base and the request.

Implementers

Constructors

IRequestHandler()

Properties

hashCode int
The hash code for this object.
no setterinherited
isCancelled bool
If the request has been canceled.
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.
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.
response(Request request) Future<IResponse>
Starts the request and provides a IResponse.
toString() String
A string representation of this object.
inherited

Operators

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