class Seahorse::Client::Request
def initialize(handlers, context)
-
context(RequestContext) -- -
handlers(HandlerList) --
def initialize(handlers, context) @handlers = handlers @context = context end
def send_request(options = {}, &block)
-
(Response)-
Options Hash:
(**options)-
:target(String, IO) -- When specified, the HTTP response
def send_request(options = {}, &block) @context[:response_target] = options[:target] || block @handlers.to_stack.call(@context) end