Skip to main content

Module server

Module server 

Source
Expand description

Server-side exports.

Modules§

validation

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.
EventContext
Event context passed to event handlers.
ExceptionContext
Context passed to the global exception handler.
FileAttachment
Inline attachment carried alongside JSON params or event data.
ServerConnectionContext
Context passed to server connection lifecycle handlers.
ServerDisconnectContext
Context passed to server disconnect lifecycle handlers.
ServerHandle
Handle that can be cloned into request and event handlers for server push operations.
WscallServer

Enums§

ServerError
Errors produced by the reusable server runtime.

Traits§

ValidateParams
Trait for custom parameter validation after JSON binding.