[−][src]Crate mpd_protocol
Implementation of the client protocol for MPD. Supports binary responses and command lists.
Primarily consists of an implementation of Tokio's codec subsystem.
Parser Support
The response parser will understand command lists properly only if they are initiated with
the command_list_ok_begin
command. If the command list is initiated without response
separators, all responses will be treated as a single large response which may result in
incorrect behavior.
Re-exports
pub use codec::MpdCodec; |
pub use codec::MpdCodecError; |
pub use command::Command; |
pub use command::CommandList; |
pub use response::Response; |
Modules
codec | Codec for MPD protocol. |
command | Tools for constructing MPD commands. |
response | Complete responses. |
sync | Basic facilities for using the protocol using synchronous IO. |