TrackingClient class Null safety

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).
read-only
delegateConfig → dynamic
The backing configuration description of the delegate client.
final
hashCode int
The hash code for this object.
read-onlyinherited
ongoingCount int
The number of ongoing requests and content reads.
read-only
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

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 non-existent 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