pub struct HttpClient {
pub http1_client: HttpSocket,
pub http2_client: HttpSocket,
}Fields§
§http1_client: HttpSocket§http2_client: HttpSocketImplementations§
Source§impl HttpClient
impl HttpClient
pub fn new() -> Self
pub async fn send_http_request( &self, request: Request<BoxBody<Bytes, Infallible>>, ) -> Result<Response<Incoming>, FusenError>
Trait Implementations§
Source§impl Debug for HttpClient
impl Debug for HttpClient
Auto Trait Implementations§
impl !RefUnwindSafe for HttpClient
impl !UnwindSafe for HttpClient
impl Freeze for HttpClient
impl Send for HttpClient
impl Sync for HttpClient
impl Unpin for HttpClient
impl UnsafeUnpin for HttpClient
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