Method: Puppet::HTTP::Pool#initialize
- Defined in:
- lib/puppet/http/pool.rb
#initialize(keepalive_timeout) ⇒ 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.
13 14 15 16 17 |
# File 'lib/puppet/http/pool.rb', line 13 def initialize(keepalive_timeout) @pool = {} @factory = Puppet::HTTP::Factory.new @keepalive_timeout = keepalive_timeout end |