axum/examples
David Pedersen ab927033b3
Support returning any http_body::Body from IntoResponse (#86)
Adds associated `Body` and `BodyError` types to `IntoResponse`. This is required for returning responses with bodies other than `hyper::Body` from handlers. That wasn't previously possible.

This is a breaking change so should be shipped in 0.2.
2021-08-07 18:03:21 +02:00
..
async-graphql Replace hyper::Server with axum::Server in docs (#118) 2021-08-04 15:38:51 +02:00
chat Add chat example (#78) 2021-08-01 22:42:34 +02:00
self_signed_certs Add TLS example (with rustls) (#57) 2021-08-01 08:32:47 +02:00
sse Server-Sent Events (#75) 2021-08-01 21:49:17 +02:00
templates Add HTML template example (#17) 2021-06-13 13:58:12 +02:00
websocket Add support for websockets (#3) 2021-06-12 20:50:30 +02:00
404.rs Handle METHOD_NOT_ALLOWED in 404 example (#131) 2021-08-06 01:15:23 +02:00
chat.rs Change WebSocket API to use an extractor (#121) 2021-08-07 17:26:23 +02:00
error_handling_and_dependency_injection.rs Support returning any http_body::Body from IntoResponse (#86) 2021-08-07 18:03:21 +02:00
form.rs Simplify tracing-subscriber initialization (#128) 2021-08-05 19:43:03 +02:00
hello_world.rs Simplify tracing-subscriber initialization (#128) 2021-08-05 19:43:03 +02:00
key_value_store.rs Implement path extractor (#124) 2021-08-06 10:17:57 +02:00
multipart_form.rs Simplify tracing-subscriber initialization (#128) 2021-08-05 19:43:03 +02:00
README.md docs: add community showcase (#126) 2021-08-05 13:47:19 +02:00
sessions.rs Simplify tracing-subscriber initialization (#128) 2021-08-05 19:43:03 +02:00
sse.rs Simplify tracing-subscriber initialization (#128) 2021-08-05 19:43:03 +02:00
static_file_server.rs Simplify tracing-subscriber initialization (#128) 2021-08-05 19:43:03 +02:00
templates.rs Support returning any http_body::Body from IntoResponse (#86) 2021-08-07 18:03:21 +02:00
testing.rs Simplify tracing-subscriber initialization (#128) 2021-08-05 19:43:03 +02:00
tls_rustls.rs Simplify tracing-subscriber initialization (#128) 2021-08-05 19:43:03 +02:00
todos.rs Implement path extractor (#124) 2021-08-06 10:17:57 +02:00
tokio_postgres.rs Simplify tracing-subscriber initialization (#128) 2021-08-05 19:43:03 +02:00
unix_domain_socket.rs Simplify tracing-subscriber initialization (#128) 2021-08-05 19:43:03 +02:00
versioning.rs Support returning any http_body::Body from IntoResponse (#86) 2021-08-07 18:03:21 +02:00
websocket.rs Change WebSocket API to use an extractor (#121) 2021-08-07 17:26:23 +02:00

Examples

Community showcase

  • Houseflow: House automation platform written in Rust.