Skip to main content

send_ping

Function send_ping 

Source
pub fn send_ping(host: &str, port: u16, auth_token: &str) -> Result<()>
Expand description

Send a ping/health-check message to the Android localhost action bridge.

The bridge is expected to reply with a JSON object containing at least "status": "ok". This command intentionally does not dispatch any action; it only verifies reachability and token acceptance.