Skip to main content

authority_of

Function authority_of 

Source
pub fn authority_of(endpoint: &str) -> String
Expand description

The Host authority (host[:port]) of an MCP endpoint URL — the @authority AAuth signs over. localhost for non-TCP endpoints. Best-effort (a parse failure yields an empty string).