Skip to main content

run_server

Function run_server 

Source
pub async fn run_server(
    socket_path: PathBuf,
    project_path: PathBuf,
) -> Result<()>
Expand description

Run the server on Unix Domain Socket with default options from config

§Arguments

  • socket_path - Path to the Unix socket file
  • project_path - Path to the project root

§Example

run_server("/tmp/ryo.sock".into(), "/path/to/project".into()).await?;