class Awscr::Signer::HeaderValue
- Awscr::Signer::HeaderValue
- Reference
- Object
Overview
Create a value for a Header
.
header = HeaderValue.new("1")
header.to_s # => "1"
header = HeaderValue.new("1,2")
header.merge("3")
header.to_s # => "1,2,3"
Defined in:
awscr-signer/core/header_value.crConstructors
-
.new(values : Array(String))
Create a header value from an array of values
-
.new(value : String)
Create a header value from a single string
Instance Method Summary
-
#merge(value)
Merge another value into this value.
-
#to_s(io)
Return the header as a string