class Seahorse::Client::Request

def initialize(handlers, context)

Parameters:
  • context (RequestContext) --
  • handlers (HandlerList) --
def initialize(handlers, context)
  @handlers = handlers
  @context = context
end

def send_request(options = {}, &block)

Returns:
  • (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