Expand description
This module contains the web server implementation for the application.
It sets up an Axum server to serve both static web UI assets and a REST API, including WebSocket communication.
Modulesยง
- api ๐
- This module defines the HTTP API endpoints for the web user interface.
- websocket ๐
- This module handles WebSocket connections for the web UI.
Structsยง
- Assets ๐
- Embeds the web UI static assets into the binary.
Functionsยง
- serve_
file ๐ - Serves a static file from the embedded assets.
- start_
server - Starts the web server.
- static_
handler ๐ - Handles requests for static web UI assets.