MIME::Message
Main MIME message class
Constructors
new(headers : HTTP::Headers = HTTP::Headers.new, body : String = "", encoding : MIME::Encoding = Encoding::SevenBit)
SourceInstance methods
body
Sourcecontent_type
SourceEncode the message body according to the transfer encoding
encoding
Sourceencoding=(encoding : Encoding)
Sourceheaders
Sourceheaders=(headers : HTTP::Headers)
Sourceto_s
Returns a nicely readable and concise string representation of this object, typically intended for users.
This method should usually not be overridden. It delegates to
#to_s(IO) which can be overridden for custom implementations.
Also see #inspect.