Trait apisdk::UrlRewriter
source · pub trait UrlRewriter: 'static + Send + Sync {
// Required method
fn rewrite<'life0, 'async_trait>(
&'life0 self,
url: Url
) -> Pin<Box<dyn Future<Output = Result<Url, ApiError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}
Expand description
This trait is used to rewrite base_url