Skip to main content

pick_endpoint

Function pick_endpoint 

Source
pub fn pick_endpoint(
    route: &CompiledHttpRoute,
    counter: &Atomic<usize>,
) -> Option<String>
Available on crate feature gateway-api only.
Expand description

An endpoint of the route’s first rule with backends, by weight; None when there is nothing to send to.