wscall-server 0.1.1

Server framework for WSCALL
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Reusable WSCALL server framework.
//!
//! This crate exposes `WscallServer` plus request and event context types,
//! validation helpers, and transport-facing attachment models.

mod server_runtime;
mod server_types;
pub mod validation;

/// Main server type used to register routes, filters, and event handlers.
pub use server_runtime::WscallServer;
pub use server_types::{
    ApiContext, ApiError, EventContext, ExceptionContext, ServerConnectionContext,
    ServerDisconnectContext, ServerError, ServerHandle, ValidateParams,
};
/// Shared attachment model used by API calls and events.
pub use wscall_protocol::FileAttachment;