RequestPipeline class
Request pipelining manager for batching requests
Constructors
- RequestPipeline.new(HttpClient _httpClient)
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
-
addRequest(
{required String url, required Map< String, dynamic> data, Map<String, String> ? headers, int priority = 5}) → Future<CFResult< String> > - Add request to pipeline
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
processBatch(
String host) → Future< void> - Process batched requests for host
-
shutdown(
) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited