Skip to main content

EndpointSelector

Trait EndpointSelector 

Source
pub trait EndpointSelector: Send + Sync {
    // Required method
    fn select_base_url(
        &self,
        method: &Method,
        path: &str,
        configured_base_url: &str,
    ) -> Result<String>;
}

Required Methods§

Source

fn select_base_url( &self, method: &Method, path: &str, configured_base_url: &str, ) -> Result<String>

Implementors§