Skip to main content

start_server

Function start_server 

Source
pub async fn start_server(
    state: AppState,
    host: &str,
    port: u16,
    static_dir: Option<&Path>,
) -> Result<()>
Expand description

Start the web server.