Skip to main content

send_command

Function send_command 

Source
pub async fn send_command(
    project: &Path,
    cmd: &DaemonCommand,
) -> DaemonResult<DaemonResponse>
Expand description

Send a command to the daemon and receive a response.

Convenience function that handles connection, send, and receive.