pub struct ReqwestClient { /* private fields */ }Available on crate feature
reqwest-client only.Expand description
A Client implementation based on reqwest::Client.
This client provides proxy capabilities using the Reqwest HTTP client. It supports all features of Reqwest including automatic redirect handling, connection pooling, and other HTTP client features.
Implementations§
Source§impl ReqwestClient
impl ReqwestClient
Sourcepub fn new(inner: InnerClient) -> Self
pub fn new(inner: InnerClient) -> Self
Create a new ReqwestClient with the given reqwest::Client.
Trait Implementations§
Source§impl Client for ReqwestClient
impl Client for ReqwestClient
Source§impl Clone for ReqwestClient
impl Clone for ReqwestClient
Source§fn clone(&self) -> ReqwestClient
fn clone(&self) -> ReqwestClient
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ReqwestClient
impl Debug for ReqwestClient
Auto Trait Implementations§
impl Freeze for ReqwestClient
impl !RefUnwindSafe for ReqwestClient
impl Send for ReqwestClient
impl Sync for ReqwestClient
impl Unpin for ReqwestClient
impl !UnwindSafe for ReqwestClient
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more