class Awscr::Signer::V4::Request
- Awscr::Signer::V4::Request
- Reference
- Object
Overview
Represents a request. It can have headers and query params.
request = Request.new("GET", URI.parse("/"), "")
request.headers.add(Header.new("k", "v"))
request.headers.to_a
request.params.add("k", "v")
request.to_s
Defined in:
awscr-signer/v4/request.crConstructors
Instance Method Summary
-
#body : IO
The request body
-
#date
The time of the request
-
#digest : String
The computed digest of the request body
- #full_path
-
#headers : Awscr::Signer::HeaderCollection
The collection of
Header
s. - #host
-
#query : Awscr::Signer::QueryString
The collection of query string paramters.
-
#to_s(io : IO)
Returns the request as a String.
Constructor Detail
Instance Method Detail
def headers : Awscr::Signer::HeaderCollection
#
The collection of Header
s. Held in a
HeaderCollection
def query : Awscr::Signer::QueryString
#
The collection of query string paramters. Held in a
QueryString