pub fn set_webhook(
seat: &str,
url: &str,
key_file: Option<&str>,
key_env: Option<&str>,
) -> Result<String>Expand description
Set a seat’s webhook. The key stays in its file or variable.
§Errors
The URL is not https, and not http on localhost or a loopback
address, or wake.toml cannot be written.