Skip to main content

create_app_with_config

Function create_app_with_config 

Source
pub fn create_app_with_config(config: &ServerConfig) -> Router
Expand description

Create the application router using the given configuration.

This is what the sof-server binary calls after parsing its arguments, and what integration tests call (via create_app or directly) to exercise the real production router.