MockClient class
- Inheritance
-
- Object
- HttpRequestBase
- MockClient
Constructors
- MockClient(MockClientHandler _handler)
- Creates a MockClient with a handler that receives Requests and sends Responses.
Properties
Methods
-
close(
) → void -
Closes the Request and cleans up any resources associated with it.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
send<
T> (Request< T> request) → Future<Response< T> > -
Sends an HTTP Request.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited