Function with_server_context

Source
pub fn with_server_context<O>(
    context: DioxusServerContext,
    f: impl FnOnce() -> O,
) -> O
Available on crate feature server only.
Expand description

Run a function inside of the server context.