IrcClient.writef

Write a raw IRC protocol message to the connection stream.

If there is more than one argument, then the first argument is formatted with subsequent arguments. Arguments must not contain newlines. Messages longer than 510 characters (UTF-8 code units) will be cut off. It is the caller's responsibility to ensure a cut-off message is valid.

  1. void writef(in char[] messageFormat, T formatArgs)
  2. void writef(in char[] rawline)
    class IrcClient
    void
    writef
    (
    in char[] rawline
    )

Throws

$(DPREF exception, UnconnectedClientException) if this client is not connected.

See Also

$(STDREF format, formattedWrite)

Meta