Skip to main content

daemon_request

Function daemon_request 

Source
pub async fn daemon_request(
    method: &str,
    path: &str,
    body: &str,
) -> Result<String>
Expand description

Send an HTTP request to the daemon over the Unix Domain Socket. Returns the response body as a string.