Routing, extractors, and responses
Build Axum routes with Path, Query, Json, and State extractors. Rust examples cover handlers, validation, responses, and error handling.
HTTP handlers, routing, extractors, middleware, database access, authentication, and testing with Axum.
4 chapters · 31 topics
Build Axum routes with Path, Query, Json, and State extractors. Rust examples cover handlers, validation, responses, and error handling.
Connect SQLx or SeaORM to Axum, add authentication and middleware, and test routes. Includes sessions, rate limits, and graceful shutdown.
Handle Axum WebSockets, server-sent events, multipart uploads, and streaming bodies with Rust examples for each response pattern.
Choose Axum feature flags and look up routing, extractor, and response APIs. Check common mistakes before wiring an HTTP service.
Allow Google Analytics to measure page visits and use of the guides? It uses cookies after you accept. Your choice won’t affect access to the site. Privacy notice