irc v0.1.0 Irc.Message.Prefix View Source

This module provides functions for encoding and decoding raw IRC prefixes.

Link to this section Summary

Types

t()

The prefix section of an IRC message

Functions

Decodes a raw IRC message prefix

Encodes a prefix as an iolist

Link to this section Types

Link to this type t() View Source
t() :: %Irc.Message.Prefix{host: String.t, name: String.t, user: String.t}

The prefix section of an IRC message

Link to this section Functions

Decodes a raw IRC message prefix

Encodes a prefix as an iolist