class

Awscr::Signer::HeaderKey

Inherits Comparable < Reference < Object

Represents the "key" of a Header. The Header key is what is used to determine if two headers are the same.

key = HeaderKey.new("Test")
key.to_s # => "test"

Constructors

new(key : String)

Create a key from a string

Source

Instance methods

<=>(other : HeaderKey) : Int

Compare to another key

Source
to_s(io : IO)

Returns the string form of the key

Source