Skip to main content

route_explain

Function route_explain 

Source
pub async fn route_explain(
    admin_url: &str,
    target: &str,
    listener: &str,
    protocol: &str,
) -> Result<RouteExplanation, AdminClientError>
Expand description

Explain a route through a live admin server.

Sends POST <admin>/-/route-explain with {target, listener, protocol} and returns the deserialized eggress_routing::RouteExplanation. protocol must be one of http, socks4, socks5; validation stays with the caller so this client never reimplements CLI value policy.