Function trillium_smol::run

source ·
pub fn run(handler: impl Handler)
Expand description

Runs a trillium handler in a sync context with default config

Runs a trillium handler on the async-global-executor runtime with default configuration. See crate::config for what the defaults are and how to override them

This function will block the current thread until the server shuts down