pub fn remote_query(
dest_hash: [u8; 16],
dest_sig_pub: [u8; 32],
identity_prv_key: [u8; 64],
path: &str,
data: &[u8],
config_path: Option<&Path>,
timeout: Duration,
) -> Option<RemoteQueryResult>Expand description
Perform a remote management query.
- Connects as a shared client
- Creates a link to the management destination
- Identifies on the link
- Sends a request to the specified path
- Returns the response data
Returns None if the query fails or times out.