ic_agent::agent::http_transport::route_provider

Trait RouteProvider

source
pub trait RouteProvider:
    Debug
    + Send
    + Sync {
    // Required method
    fn route(&self) -> Result<Url, AgentError>;
}
Expand description

A RouteProvider for dynamic generation of routing urls.

Required Methods§

source

fn route(&self) -> Result<Url, AgentError>

Generate next routing url

Implementors§