pub fn is_url_allowed(gate: Option<&PromptUrlGate>, url: &str) -> boolExpand description
Check if a URL is allowed by the gate.
Returns:
trueif the URL is allowed (no gate, or gate allows the URL)falseif the URL is blocked
pub fn is_url_allowed(gate: Option<&PromptUrlGate>, url: &str) -> boolCheck if a URL is allowed by the gate.
Returns:
true if the URL is allowed (no gate, or gate allows the URL)false if the URL is blocked