Sha256: 269dbaadfdb395c057e7b6bf8cdb9eab806888657ba30fc5de1f8340c832270c
Contents?: true
Size: 555 Bytes
Versions: 5
Compression:
Stored size: 555 Bytes
Contents
require 'ethon' module HttpEventLogger module Test module Driver class Ethon < HttpEventLogger::Test::Driver::Base def self.is_libcurl? true end def send_get_request easy = ::Ethon::Easy.new easy.http_request(uri, :get, { headers: @headers }) easy.perform end def send_post_request easy = ::Ethon::Easy.new easy.http_request(uri, :post, { headers: @headers, body: @data }) easy.perform end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems