Requester class abstract

A contract Requester to define an interface for handling HTTP requests and responses.

The Requester abstract class serves as a contract that can be implemented by any class wishing to handle HTTP requests and send responses.

Constructors

Requester()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() → void
Closes any underlying resources that the Requester might be using.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
perform(HttpRequest request) Future<HttpResponse>
Performs an HTTP request and retrieves the response.
toString() String
A string representation of this object.
inherited

Operators

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