class Awscr::Signer::HeaderKey

Overview

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"

Included Modules

Defined in:

awscr-signer/core/header_key.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(key : String) #

Create a key from a string


[View source]

Instance Method Detail

def <=>(key : HeaderKey) : Int #

Compare to another key


[View source]
def to_s(io : IO) #

Returns the string form of the key


[View source]