Formats an IrcMessage (or a message-shaped object) into a single line, without the
trailing CRLF (the writer appends it).
The last parameter is automatically prefixed with : when it contains a space, is empty, or
itself starts with : - the cases where it must be sent as a trailing parameter. tags and
prefix are emitted when present (a prefix may be a raw string or an IrcPrefix).
Formats an IrcMessage (or a message-shaped object) into a single line, without the trailing CRLF (the writer appends it).
The last parameter is automatically prefixed with
:when it contains a space, is empty, or itself starts with:- the cases where it must be sent as a trailing parameter.tagsandprefixare emitted when present (aprefixmay be a raw string or an IrcPrefix).