module

Athena::MIME::Header::Interface

An OO representation of a MIME header.

Instance methods

body

Returns the body of the header. The type depends on the specific concrete class.

Source
body=(body)

Sets the body of the header. The type depends on the specific concrete class.

Source
body_to_s

Returns the header's body, prepared for folding into a final header value.

This is not necessarily RFC 2822 compliant since folding white space is not added at this stage (see #to_s for that).

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
to_s(io : IO) : Nil

Render this header as a compliant string.

Source