Method: Seahorse::Client::NetHttp::ConnectionPool.pools

Defined in:
lib/seahorse/client/net_http/connection_pool.rb

.poolsArray<ConnectionPool>

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a list of of the constructed connection pools.

Returns:

  • (Array<ConnectionPool>)

    Returns a list of of the constructed connection pools.



218
219
220
221
222
# File 'lib/seahorse/client/net_http/connection_pool.rb', line 218

def pools
  @pools_mutex.synchronize do
    @pools.values
  end
end