pub fn routes() -> Vec<Route>Expand description
Get all routes for manual mounting.
Returns a vector of all pre-built routes, allowing you to mount them at a custom path prefix.
§Example
ⓘ
use html2pdf_api::integrations::rocket::routes;
// Mount at root
rocket::build().mount("/", routes())
// Mount at custom prefix
rocket::build().mount("/api/v1", routes())§Routes Returned
GET /pdf-pdf_from_urlPOST /pdf/html-pdf_from_htmlGET /pool/stats-pool_statsGET /health-health_checkGET /ready-readiness_check