Function webhook_flows::route::patch
source · pub fn patch<T>(
f: fn(_: Vec<(String, String)>, _: HashMap<String, Value>, _: Vec<u8>) -> T
) -> (Method, Box<dyn Fn(Vec<(String, String)>, HashMap<String, Value>, Vec<u8>) -> Pin<Box<dyn Future<Output = ()>>>>)where
T: Future<Output = ()> + 'static,
Expand description
Helper for wrapping function to a Handler, and then binding to ‘PATCH’ method.