fn make_post_handler<P, F, Fut>(
f: F,
) -> Box<dyn Fn(Extension<Arc<Gateway>>, Value) -> Pin<Box<dyn Future<Output = Result<Json<Value>, GatewayError>> + Send>> + Send + Sync>Expand description
Creates a POST handler for the Iroh endpoint by wrapping it in a closure.