class

Athena::MIME::Header::Parameterized

Inherits Athena::MIME::Header::Unstructured < Athena::MIME::Header::Abstract < Athena::MIME::Header::Interface < Reference < Object

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)
Source

Instance methods

[](name : String) : String

Returns the value of the parameter with the provided name

Source
[]=(key : String, value : String) : Nil

Set the value of the parameter with the provided name to value.

Source
parameters

Represents the parameters associated with this header.

Source
parameters=(parameters : Hash(String, String))

Represents the parameters associated with this header.

Source