Struct rust_rcs_core::http::HttpClient
source · pub struct HttpClient { /* private fields */ }
Implementations§
source§impl HttpClient
impl HttpClient
pub fn new( client_config: Arc<ClientConfig>, dns_client: Arc<DnsClient>, rt: Arc<Runtime> ) -> HttpClient
pub async fn connect( &self, url: &Url, can_pipeline: bool ) -> Result<HttpConnectionHandle>
Auto Trait Implementations§
impl !RefUnwindSafe for HttpClient
impl Send for HttpClient
impl Sync for HttpClient
impl Unpin for HttpClient
impl !UnwindSafe 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