Skip to main content

wscall_server/
lib.rs

1//! Reusable WSCALL server framework.
2//!
3//! This crate exposes `WscallServer` plus request and event context types,
4//! validation helpers, and transport-facing attachment models.
5
6mod server_runtime;
7mod server_types;
8pub mod validation;
9
10/// Main server type used to register routes, filters, and event handlers.
11pub use server_runtime::WscallServer;
12pub use server_types::{
13    ApiContext, ApiError, EventContext, ExceptionContext, ServerConnectionContext,
14    ServerDisconnectContext, ServerError, ServerHandle, ValidateParams,
15};
16/// Shared attachment model used by API calls and events.
17pub use wscall_protocol::FileAttachment;