Expand description
see repo readme
Modules§
Macros§
- enforce
- Enforce that a Result is Ok, otherwise return the Err as a response
- router
- Generate a router function
Functions§
- enforce_
user - Enforce that the request has a user header, otherwise return a 401 response
- redirect
- Generate a redirect response to the given URL
- run
- Run an Axum server with the given router and static file serving
- streamed_
response - Create a streamed SSE response from an iterator and a mapping function