pub async fn push_share(
code: &str,
base_url: &str,
api_key: &str,
relay_url: &str,
) -> Result<()>Expand description
Push {base_url, api_key} to the relay under code.
base_url is sent plaintext (not sensitive — it’s just an IP/URL).
api_key is encrypted with the share code before sending — the relay never sees it.