module Inferno::DSL::HTTPClient::ClassMethods
Public Instance Methods
http_client(name = :default, &block)
click to toggle source
Define a HTTP client to be used by a Runnable
.
@param name [Symbol] a name used to reference this particular client @param block a block to configure the client @see Inferno::HTTPClientBuilder Documentation for the client
configuration DSL
# File lib/inferno/dsl/http_client.rb, line 116 def http_client(name = :default, &block) http_client_definitions[name] = block end
http_client_definitions()
click to toggle source
@api private
# File lib/inferno/dsl/http_client.rb, line 106 def http_client_definitions @http_client_definitions ||= {} end