pub struct ProxyClient { /* private fields */ }Expand description
HTTP client for making proxy requests
Implementations§
Source§impl ProxyClient
impl ProxyClient
Sourcepub fn with_options(
timeout_seconds: u64,
follow_redirects: bool,
) -> Result<Self>
pub fn with_options( timeout_seconds: u64, follow_redirects: bool, ) -> Result<Self>
Build a client with the configured upstream timeout and redirect policy.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ProxyClient
impl !UnwindSafe for ProxyClient
impl Freeze for ProxyClient
impl Send for ProxyClient
impl Sync for ProxyClient
impl Unpin for ProxyClient
impl UnsafeUnpin for ProxyClient
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