Add unix domain socket example (#53)

Not actually related to Axum, can be implemented directly with Hyper, but I figure its nice to have for demonstration and might help catch accidental breaking changes in the future.
This commit is contained in:
David Pedersen
2021-07-31 12:22:38 +02:00
committed by GitHub
parent d88212c015
commit 132da26d5b
2 changed files with 127 additions and 0 deletions
+1
View File
@@ -12,3 +12,4 @@
- [`websocket`](../examples/websocket.rs) - How to build an app that handles WebSocket connections.
- [`error_handling_and_dependency_injection`](../examples/error_handling_and_dependency_injection.rs) - How to handle errors and dependency injection using trait objects.
- [`tokio_postgres`](../examples/tokio_postgres.rs) - How to use a tokio-postgres and bb8 to query a database.
- [`unix_domain_socket`](../examples/unix_domain_socket.rs) - How to run an Axum server over unix domain sockets.