Skip to main content

send_via_socket

Function send_via_socket 

Source
pub fn send_via_socket(
    sock: &Path,
    request: &SendRequest,
    wait: Duration,
) -> Result<SendReply>
Expand description

Sends request over the client’s socket and waits up to wait for the answer. Err means no client answered on that socket (missing, refused, or closed early), so the caller may fall back to opening the session itself.