class

Athena::MIME::Header::Abstract(T)

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

Base type of all headers that provides common utilities and abstractions.

Constructors

new(name : String)
Source

Instance methods

body

Returns the body of this header.

Source
body=(body : T)

Sets the body of this header.

Source
charset

Sets the character set used in this header. Defaults to UTF-8.

Source
charset=(charset : String)

Sets the character set used in this header. Defaults to UTF-8.

Source
clone

Returns a copy of self with all instance variables cloned.

Source
lang

Sets the language used in this header. E.g. en-us.

Source
lang=(lang : String | Nil)

Sets the language used in this header. E.g. en-us.

Source
max_line_length

Controls how long each header line may be before needing wrapped. Defaults to 76.

Source
max_line_length=(max_line_length : Int32)

Controls how long each header line may be before needing wrapped. Defaults to 76.

Source
name

Returns the name of the header.

Source