Expand description
Reusable WSCALL server framework.
This crate exposes WscallServer plus request and event context types,
validation helpers, and transport-facing attachment models.
Modules§
Macros§
- wscall_
contains_ validator - wscall_
length_ range_ validator - wscall_
max_ length_ validator - wscall_
min_ length_ validator - wscall_
not_ contains_ validator - wscall_
numeric_ max_ validator - wscall_
numeric_ min_ validator - wscall_
numeric_ range_ validator - wscall_
one_ of_ validator - wscall_
regex_ validator
Structs§
- ApiContext
- Request context passed to API route handlers.
- ApiError
- Application-level error returned from handlers.
- Event
Context - Event context passed to event handlers.
- Exception
Context - Context passed to the global exception handler.
- File
Attachment - Shared attachment model used by API calls and events. Inline attachment carried alongside JSON params or event data.
- Server
Connection Context - Context passed to server connection lifecycle handlers.
- Server
Disconnect Context - Context passed to server disconnect lifecycle handlers.
- Server
Handle - Handle that can be cloned into request and event handlers for server push operations.
- Wscall
Server - Main server type used to register routes, filters, and event handlers.
Enums§
- Server
Error - Errors produced by the reusable server runtime.
Traits§
- Validate
Params - Trait for custom parameter validation after JSON binding.