send_webhook_by_name

Function send_webhook_by_name 

Source
pub async fn send_webhook_by_name(name: &str) -> Result<(), WebHookError>
Expand description

Send a webhook by name using the default config path.

Resolution order for config path:

  1. WEBHOOKLOADER_CONFIG env var, if set
  2. “config.toml” in the current working directory