Skip to main content

request

Function request 

Source
pub fn request(
    repo_root: &Path,
    request: &Request,
) -> Result<Response, ServerError>
Expand description

One round trip against the canonical socket of repo_root.

§Errors

NotRunning when the socket is absent or refuses connection (the shim’s fall-back-to-cold signal); Io/Protocol for transport and encoding failures.