pub struct ReqwestPrHttpTransport { /* private fields */ }Expand description
Production HTTPS transport with redirects disabled and bounded streaming responses.
Implementations§
Source§impl ReqwestPrHttpTransport
impl ReqwestPrHttpTransport
Sourcepub fn new() -> Result<Self, PrHttpTransportError>
pub fn new() -> Result<Self, PrHttpTransportError>
Creates a reusable provider HTTP client.
§Errors
Returns PrHttpTransportError when the client cannot be constructed.
Trait Implementations§
Source§impl Clone for ReqwestPrHttpTransport
impl Clone for ReqwestPrHttpTransport
Source§fn clone(&self) -> ReqwestPrHttpTransport
fn clone(&self) -> ReqwestPrHttpTransport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ReqwestPrHttpTransport
impl Debug for ReqwestPrHttpTransport
Source§impl PrHttpTransport for ReqwestPrHttpTransport
impl PrHttpTransport for ReqwestPrHttpTransport
Source§fn send<'life0, 'async_trait>(
&'life0 self,
request: PrHttpRequest,
) -> Pin<Box<dyn Future<Output = Result<PrHttpResponse, PrHttpTransportError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn send<'life0, 'async_trait>(
&'life0 self,
request: PrHttpRequest,
) -> Pin<Box<dyn Future<Output = Result<PrHttpResponse, PrHttpTransportError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Sends one bounded request. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for ReqwestPrHttpTransport
impl !UnwindSafe for ReqwestPrHttpTransport
impl Freeze for ReqwestPrHttpTransport
impl Send for ReqwestPrHttpTransport
impl Sync for ReqwestPrHttpTransport
impl Unpin for ReqwestPrHttpTransport
impl UnsafeUnpin for ReqwestPrHttpTransport
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