Skip to main content

dispatch_provider

Function dispatch_provider 

Source
pub fn dispatch_provider() -> Arc<ServiceProvider> ⓘ
Expand description

Provider for HTTP dispatch and #[handler(inject)] factories.

Prefers the active DispatchRuntime (HTTP requests and hosted services started by Host). Falls back to the deprecated process-wide shim when set_global_provider was called manually.