Adapter to use Faraday with Typhoeus.
@example Use Typhoeus.
require 'faraday' require 'typhoeus' require 'typhoeus/adapters/faraday' conn = Faraday.new(url: "www.example.com") do |faraday| faraday.adapter :typhoeus end response = conn.get("/")
Setup Hydra with provided options.
@example Setup Hydra.
Faraday::Adapter::Typhoeus.setup_parallel_manager #=> #<Typhoeus::Hydra ... >
@param (see Typhoeus::Hydra#initialize) @option (see Typhoeus::Hydra#initialize)
@return [ Typhoeus::Hydra ] The hydra.
# File lib/typhoeus/adapters/faraday.rb, line 45 def self.setup_parallel_manager(options = {}) ::Typhoeus::Hydra.new(options) end
Generated with the Darkfish Rdoc Generator 2.