pub struct UreqClient { /* private fields */ }Expand description
The production client: a ureq agent with a 10s global timeout (parity with
the TS AbortSignal.timeout(10_000)) that surfaces HTTP status codes rather
than turning 4xx/5xx into transport errors.
Implementations§
Source§impl UreqClient
impl UreqClient
Trait Implementations§
Source§impl Default for UreqClient
impl Default for UreqClient
Source§impl HttpClient for UreqClient
impl HttpClient for UreqClient
Auto Trait Implementations§
impl !RefUnwindSafe for UreqClient
impl !UnwindSafe for UreqClient
impl Forget for UreqClient
impl Freeze for UreqClient
impl Move for UreqClient
impl Send for UreqClient
impl Sync for UreqClient
impl Unpin for UreqClient
impl UnsafeUnpin for UreqClient
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