Function ptth_server::run_server[][src]

pub async fn run_server(
    config_file: ConfigFile,
    shutdown_oneshot: Receiver<()>,
    hidden_path: Option<PathBuf>,
    asset_root: Option<PathBuf>
) -> Result<(), ServerError>

Runs a ptth_server instance with the built-in file server module