Ircxd.WebIRC (ircxd v1.1.0)

Copy Markdown View Source

Helpers for the IRCv3 WebIRC command.

Summary

Functions

Serializes and escapes WebIRC options.

Builds WEBIRC command parameters.

Functions

options(options)

@spec options(map() | keyword() | [{String.t(), term()}]) :: String.t()

Serializes and escapes WebIRC options.

params(opts)

@spec params(keyword()) :: [String.t()]

Builds WEBIRC command parameters.

The options :password, :gateway, :hostname, and :ip are required. Use :options to add escaped WebIRC options.