Sha256: 17d85a771b2f7079e2e4e5dadcd769cae2091fefe34192d9cc0ed2d2ee1ee50d
Contents?: true
Size: 534 Bytes
Versions: 2
Compression:
Stored size: 534 Bytes
Contents
require 'excon' class TyphoeusAdapter < HTTPBaseAdapter def send_get_request Typhoeus.get(parse_uri.to_s, headers: @headers) end def send_head_request Typhoeus.head(parse_uri.to_s, headers: @headers) end def send_post_request Typhoeus.post(parse_uri.to_s, body: @data, headers: @headers) end def send_post_form_request Typhoeus.post(parse_uri.to_s, body: @params, headers: @headers) end def send_multipart_post_request send_post_form_request end def self.is_libcurl? true end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
httplog-1.0.2 | spec/adapters/typhoeus_adapter.rb |
httplog-1.0.1 | spec/adapters/typhoeus_adapter.rb |