class Seahorse::Client::Http::Request

def initialize(options = {})

Options Hash: (**options)
  • :body (Body) --
  • :headers (Headers) --
  • :http_method (String) --
  • :endpoint (URI::HTTP, URI::HTTPS) --
def initialize(options = {})
  self.endpoint = options[:endpoint]
  self.http_method = options[:http_method] || 'GET'
  self.headers = Headers.new(options[:headers] || {})
  self.body = options[:body]
end