pub struct HttpOptions {
pub url: String,
pub headers: Vec<(String, String)>,
pub auth: Option<HttpAuth>,
}Expand description
How to reach a streamable HTTP server.
Fields§
§url: StringThe endpoint.
headers: Vec<(String, String)>Headers sent with every request.
auth: Option<HttpAuth>Supplies the bearer token.
Trait Implementations§
Source§impl Clone for HttpOptions
impl Clone for HttpOptions
Auto Trait Implementations§
impl !RefUnwindSafe for HttpOptions
impl !UnwindSafe for HttpOptions
impl Forget for HttpOptions
impl Freeze for HttpOptions
impl Send for HttpOptions
impl Sync for HttpOptions
impl Unpin for HttpOptions
impl UnsafeUnpin for HttpOptions
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