mod channel;
mod client;
mod command_queue;
mod connection;
mod connection_url;
mod constants;
mod credentials;
mod decode;
mod encode;
mod errors;
mod events;
mod heartbeat;
mod identifiers;
mod messages;
mod ordered_map;
mod payload;
mod random;
mod reconnect;
mod routing;
mod segment;
mod values;
#[cfg(test)]
mod tests;
#[doc = include_str!("../README.md")]
#[cfg(doctest)]
pub struct ReadmeDoctests;
pub use channel::Channel;
pub use client::{Client, ClientOptions};
pub use credentials::{
CredentialFuture, CredentialProvider, CredentialReason, CredentialRequest, Credentials,
ProviderError,
};
pub use errors::{CelerisError, ServerError, ServerErrorResource, ServerErrorType};
pub use events::{ChannelEventHandler, Registration};
pub use payload::{PayloadCodec, read_text, text_payload};
pub use segment::{Segment, Subscription};
pub use values::{
ChannelState, MessageMetadata, PresenceConnection, PresenceEvent, PresencePage, RecoveryEvent,
ServerNotice,
};