Protocol
ping
A round trip that proves the daemon is alive and has drained everything sent before it.
CALL
crownpaper.pinglet pending = client.ping()?;
client.wait(pending, Some(Duration::from_secs(5)))?;crownpaper pingpongRequests on a connection are handled in order, so a ping reply also confirms that every
notification sent before it was processed.
Parameters
This method takes no parameters.
Reply
()unit
Empty reply. A connection error means the daemon is not running.