paracusia v0.2.1 Paracusia.MpdClient.Channels
Functions for client to client communication over channels.
See also: https://musicpd.org/doc/protocol/client_to_client.html
Summary
Functions
Returns a list of all available channels
Sends a message to the given channel
Subscribe to the channel and create it, if it does not already exist
Unsubscribe from channel
Functions
Returns a list of all available channels.
send_message(channel, message)
send_message(String.t, String.t) :: :ok | Paracusia.MpdTypes.mpd_error
Sends a message to the given channel.
Subscribe to the channel and create it, if it does not already exist.
channel
is a name consisting of alphanumeric ASCII characters plus underscore, dash, dot and
colon.