Drop every current connection so the next checkout connects fresh, for example after the connection settings changed.
Idle connections close on the next drain. A checked-out connection is still serving a request, so it is retired instead: it finishes and then closes on return.
Mark a connection as available for reuse.
If connection has been removed, it will not be added to the pool.
The connection to make available
Release every current connection without interrupting in-flight work, and abort a pending prewarm.
Idle connections close now. A checked-out connection finishes its request and then closes on
return instead of rejoining the pool. Use this when the pool's owner is done with it, for
example an agent that handed off. The pool stays usable: the next get() or prewarm()
connects fresh rather than reviving a released connection.
Remove a specific connection from the pool.
Marks the connection to be closed during the next drain cycle.
The connection to remove
Connection pool for managing persistent WebSocket connections.
Reuses connections efficiently and automatically refreshes them after max duration. Prevents creating too many connections in a single conversation.