fn register_post_handler<P, F, Fut>(
handlers: &mut Handlers,
route: &str,
func: F,
is_authenticated: bool,
router: Router,
) -> RouterExpand description
Registers a POST API handler for both the HTTP server and the Iroh
Endpoint.