The destination host’s reachable DNS name or IP, in the form of a String
:path(String)
—
appears after ‘scheme://host:port/’
:port(Fixnum)
—
The port on which to connect, to the destination host
:query(Hash)
—
appended to the ‘scheme://host:port/path/’ in the form of ‘?key=value’
:scheme(String)
—
The protocol; ‘https’ causes OpenSSL to be used
:response_block(Proc)
50
51
52
53
54
# File 'lib/conduit/core/connection.rb', line 50defrequest(params,&block)params[:headers]||={}params[:headers]['User-Agent']||="conduit/#{Conduit::VERSION}"connection.request(params,&block)end