pub trait HttpClientWithAdminSupport: Send + Sync {
// Required method
fn get_value_with_admin_override<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
url: &'life1 str,
admin_tenant: Option<&'life2 str>,
) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
}Expand description
Enhanced HTTP client trait with admin header support for multi-tenant
Required Methods§
Sourcefn get_value_with_admin_override<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
url: &'life1 str,
admin_tenant: Option<&'life2 str>,
) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn get_value_with_admin_override<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
url: &'life1 str,
admin_tenant: Option<&'life2 str>,
) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Perform a GET request with optional admin override header
Implementors§
impl HttpClientWithAdminSupport for ReqwestHttpClientWithAdminSupport
Available on non-WebAssembly and crate feature
http-reqwest only.