pub struct SimpleHttpHandler { /* private fields */ }Expand description
Basic HTTP handler with two platform backends: * Windows — WinHTTP * Other — libcurl (linked at build time)
Requests are dispatched asynchronously onto an internal thread pool; each worker owns one backend handle and keeps its connection cache warm. Thread-safe: multiple threads may call getAsync / getRangeAsync concurrently.
Implementations§
Trait Implementations§
Source§impl Debug for SimpleHttpHandler
impl Debug for SimpleHttpHandler
Source§impl Default for SimpleHttpHandler
impl Default for SimpleHttpHandler
Source§impl Drop for SimpleHttpHandler
impl Drop for SimpleHttpHandler
impl Send for SimpleHttpHandler
Auto Trait Implementations§
impl !Sync for SimpleHttpHandler
impl Freeze for SimpleHttpHandler
impl RefUnwindSafe for SimpleHttpHandler
impl Unpin for SimpleHttpHandler
impl UnsafeUnpin for SimpleHttpHandler
impl UnwindSafe for SimpleHttpHandler
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