class Athena::MIME::Header::Parameterized
inherits Athena::MIME::Header::Unstructured
#
Represents a MIME Header for something like content-type
(key/value pairs of metadata included in the value).
Constructors#
.new(name : String, value : String, parameters : Hash(String, String) = {} of String => String)
#
Methods#
#[](name : String) : String
#
Returns the value of the parameter with the provided name
#[]=(key : String, value : String) : Nil
#
Set the value of the parameter with the provided name to value.
#parameters : Hash(String, String)
#
Represents the parameters associated with this header.
#parameters=(parameters : Hash(String, String))
#
Represents the parameters associated with this header.