pub trait BaseClient {
// Required method
fn http_client(&self) -> &ReqwestClient;
}Expand description
Base trait for HTTP clients that provides access to the underlying reqwest client.
This trait is implemented by both authenticated and unauthenticated clients, allowing generic code to work with either type.
Required Methods§
Sourcefn http_client(&self) -> &ReqwestClient
fn http_client(&self) -> &ReqwestClient
Returns a reference to the underlying reqwest HTTP client.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".