pub trait HttpClient {
// Required methods
fn request(&mut self, request: &Request) -> Result<Response>;
fn request_with_progress(
&mut self,
request: &Request,
progress: ProgressCallback,
) -> Result<Response>;
fn is_ready(&self) -> bool;
}Expand description
HTTP client trait.
Required Methods§
Sourcefn request_with_progress(
&mut self,
request: &Request,
progress: ProgressCallback,
) -> Result<Response>
fn request_with_progress( &mut self, request: &Request, progress: ProgressCallback, ) -> Result<Response>
Execute request with progress tracking.