feat(qconnect-protocol): implement protobuf queue command and server event contracts
-cx
This commit is contained in:
1 parent
18b1bd76e0
commit
d1b01bbd5e
9 files changed
+1910
No files matched your search
@@ -0,0 +1,22 @@
|
||||
//! qconnect-protocol
|
||||
//!
|
||||
//! Wire-level contracts for Qobuz Connect WS commands/events.
|
||||
|
||||
mod command;
|
||||
mod decoder;
|
||||
mod error;
|
||||
mod event;
|
||||
mod mapper;
|
||||
mod queue_command_proto;
|
||||
mod wire;
|
||||
|
||||
pub use command::{QueueCommand, QueueCommandType};
|
||||
pub use decoder::decode_queue_server_events;
|
||||
pub use error::ProtocolError;
|
||||
pub use event::{QueueEventType, QueueServerEvent};
|
||||
pub use mapper::{build_qconnect_outbound_envelope, encode_queue_command_batch};
|
||||
pub use wire::{
|
||||
build_outbound_envelope, decode_inbound_json, encode_outbound_json,
|
||||
encode_outbound_payload_bytes, parse_inbound_event, InboundEnvelope, OutboundEnvelope,
|
||||
QCONNECT_BACKEND_DESTINATION, QCONNECT_SERVICE,
|
||||
};
|
||||
Reference in new issue
Block a user