pub async fn send_and_receive<R>(
    addr: &str,
    request: &RequestMessage<R>
) -> Result<ResponseMessage<R::Response>, SocketError>
where R: Request,
Expand description

send request and return response from calling server at socket addr