ConnectionPool class

Connection pool for efficient HTTP/2 multiplexing

Constructors

ConnectionPool.new()

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

getConnection(String host) Future<PooledConnection?>
Get or create connection for host
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
releaseConnection(PooledConnection connection) → void
Release connection back to pool
shutdown() → void
Close all connections
toString() String
A string representation of this object.
inherited

Operators

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