Module | Typhoeus::Pool |
In: |
lib/typhoeus/pool.rb
|
The easy pool stores already initialized easy handles for future use. This is useful because creating them is expensive.
@api private
Return an easy from the pool.
@example Return easy.
Typhoeus::Pool.get
@return [ Ethon::Easy ] The easy.
Releases easy into the pool. The easy handle is reset before it gets back in.
@example Release easy.
Typhoeus::Pool.release(easy)