pub fn controller_handler<C>(
controller: Arc<C>,
method_name: String,
) -> impl Fn(ElifRequest) -> Pin<Box<dyn Future<Output = HttpResult<ElifResponse>> + Send>> + Clone + Send + Sync + 'staticwhere
C: ElifController + 'static,
Expand description
Create a controller handler function