Method: Puppet::Network::HTTP::Pool#initialize

Defined in:
lib/puppet/network/http/pool.rb

#initialize(keepalive_timeout = FIFTEEN_SECONDS) ⇒ Pool

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 new instance of Pool.



16
17
18
19
20
# File 'lib/puppet/network/http/pool.rb', line 16

def initialize(keepalive_timeout = FIFTEEN_SECONDS)
  @pool = {}
  @factory = Puppet::Network::HTTP::Factory.new
  @keepalive_timeout = keepalive_timeout
end