rbp_server/hosting/mod.rs
1//! WebSocket game hosting infrastructure.
2//!
3//! This module provides the server-side machinery for hosting live poker games
4//! over WebSocket connections, managing room lifecycles and client sessions.
5//!
6//! ## Core Types
7//!
8//! - [`Casino`] — Central registry of active game rooms
9//! - [`Client`] — WebSocket connection state for a connected player
10//! - [`Handle`] — Room reference for client interactions
11//!
12//! ## HTTP Handlers
13//!
14//! The [`handlers`] submodule exposes actix-web routes for room management:
15//! start, enter, and leave operations.
16mod casino;
17mod client;
18mod handle;
19pub mod handlers;
20
21pub use casino::*;
22pub use client::*;
23pub use handle::*;