Skip to main content

bloop_server_framework/
message.rs

1//! Protocol messages, re-exported from [`bloop_protocol`].
2//!
3//! The wire format lives in the `bloop-protocol` crate since framework 2.0;
4//! this module keeps the 1.x import paths working for the types the
5//! framework's public API uses. Custom protocol extensions define their own
6//! messages with the `bloop_protocol` derives and plug them into the
7//! [`NetworkListener`](crate::network::NetworkListener) type parameters.
8
9pub use bloop_protocol::capabilities::Capabilities;
10pub use bloop_protocol::data_hash::DataHash;
11pub use bloop_protocol::frame::RawMessage;
12pub use bloop_protocol::message::{
13    AchievementRecord, AudioData, Authentication, AuthenticationAccepted, Bloop, BloopAccepted,
14    ClientHandshake, ClientMessage, ErrorResponse, Ping, Pong, PreloadCheck, PreloadMatch,
15    PreloadMismatch, Quit, RetrieveAudio, ServerHandshake, ServerMessage,
16};