pub struct HttpTransport { /* private fields */ }Expand description
Minimal HTTP/1.1 client: POST the request to <base_url>/<method>. The server
ignores the path and dispatches on the body’s method. Maps HTTP 429 →
RateLimited and 503 → BackendUnavailable (spec §5.2).
Implementations§
Source§impl HttpTransport
impl HttpTransport
pub fn new(base_url: &str) -> HttpTransport
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HttpTransport
impl RefUnwindSafe for HttpTransport
impl Send for HttpTransport
impl Sync for HttpTransport
impl Unpin for HttpTransport
impl UnsafeUnpin for HttpTransport
impl UnwindSafe 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