scoped_ioc_controller_handler

Function scoped_ioc_controller_handler 

Source
pub fn scoped_ioc_controller_handler<C>(
    container: Arc<IocContainer>,
    method_name: String,
) -> impl Fn(ElifRequest) -> Pin<Box<dyn Future<Output = HttpResult<ElifResponse>> + Send>> + Clone + Send + Sync + 'static
where C: ElifController + IocControllable + 'static,
Expand description

Create a scoped IoC controller handler that creates a new scope per request