Expand description
Axum application wiring for the sof-server binary.
This module builds the same router the sof-server binary serves, so
that integration tests exercise production wiring instead of a
hand-maintained stub. The binary (src/server.rs) is left with only
argument parsing and main; everything that decides what gets served
lives here.
Structs§
- Server
Config - Server configuration options
Functions§
- create_
app - Create the axum application with all routes and configuration Create the application router with default configuration This is used for testing and can be used for custom server implementations
- create_
app_ with_ config - Create the application router using the given configuration.