Function trillium_tokio::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 tokio 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