pub struct HttpTransport { /* private fields */ }Expand description
Sends envelopes over HTTP/1.1 (TLS with the WebPKI roots) in the background: on the current runtime, or on a thread of its own outside one. Failures are written to standard error. The whole exchange times out after one second, the connection after half a second.
PHP: the default utopia-php/client cURL client, with
CURLOPT_TIMEOUT_MS => 1000 and CURLOPT_CONNECTTIMEOUT_MS => 500;
failures go to error_log().
Implementations§
Source§impl HttpTransport
impl HttpTransport
Trait Implementations§
Source§impl Debug for HttpTransport
impl Debug for HttpTransport
Source§impl Default for HttpTransport
impl Default for HttpTransport
Auto Trait Implementations§
impl !Freeze for HttpTransport
impl !RefUnwindSafe for HttpTransport
impl !UnwindSafe for HttpTransport
impl Forget 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