pub async fn pdf_from_url( __arg0: State<SharedPool>, __arg1: Query<PdfFromUrlRequest>, ) -> Response
Generate PDF from a URL.
This handler converts a web page to PDF using the browser pool.
GET /pdf?url=https://example.com&filename=output.pdf
Router::new().route("/pdf", get(pdf_from_url)).with_state(pool)