Skip to main content

Module shared

Module shared 

Source
Expand description

Shared props: per-config props merged into every response.

Structs§

FnSharedProps
Adapter for Fn(&RequestInfo) -> impl Future<Output = Value>.

Traits§

SharedProps
Resolves shared props on each request.

Functions§

shared_props_fn
Helper to wrap a closure as a boxed SharedProps trait object.