pub struct HttpTransport { /* private fields */ }Available on crate feature
http only.Expand description
HTTPS transport: POSTs the base64-encoded message as text/plain.
Needs feature http (on by default).
Implementations§
Source§impl HttpTransport
impl HttpTransport
Sourcepub fn with_timeout(timeout: Duration) -> Result<Self>
pub fn with_timeout(timeout: Duration) -> Result<Self>
Like HttpTransport::new with a custom total timeout per request.
Trait Implementations§
Source§impl Transport for HttpTransport
impl Transport for HttpTransport
Auto Trait Implementations§
impl !RefUnwindSafe for HttpTransport
impl !UnwindSafe for HttpTransport
impl Forget for HttpTransport
impl Freeze for HttpTransport
impl Move for HttpTransport
impl Send for HttpTransport
impl Sync for HttpTransport
impl Unpin for HttpTransport
impl UnsafeUnpin for HttpTransport
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