TrackingClient class

Tracks the entire lifecycle of a request, keeps track the number of ongoing and completed requests.

Implemented types

Constructors

TrackingClient(Client _delegate, {dynamic delegateConfig})
Creates a tracking client with a Client delegate.

Properties

completedCount → int
The number of completed requests (with input content done).
no setter
delegateConfig → dynamic
The backing configuration description of the delegate client.
final
hashCode → int
The hash code for this object.
no setterinherited
ongoingCount → int
The number of ongoing requests and content reads.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

close({bool force = false}) → Future
Closes any HTTP Client resources.
override
join() → Future
Completes when the currently active requests and content reads complete.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
send(Request request) → Future<Response>
Sends the request and returns the Response
override
toString() → String
A string representation of this object.
override

Operators

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