[−][src]Struct webview2::HttpRequestHeaders
Wrapper for ICoreWebView2HttpRequestHeaders
.
Implementations
impl HttpRequestHeaders
[src]
pub fn into_inner(self) -> ComRc<dyn ICoreWebView2HttpRequestHeaders>
[src]
pub fn as_inner(&self) -> &ComRc<dyn ICoreWebView2HttpRequestHeaders>
[src]
impl HttpRequestHeaders
[src]
pub fn get_header(&self, name: &str) -> Result<String>
[src]
pub fn get_headers(&self, name: &str) -> Result<HttpHeadersCollectionIterator>
[src]
pub fn contains(&self, name: &str) -> Result<bool>
[src]
pub fn set_header(&self, name: &str, value: &str) -> Result<()>
[src]
pub fn remove_header(&self, message_string: &str) -> Result<()>
[src]
pub fn get_iterator(&self) -> Result<HttpHeadersCollectionIterator>
[src]
Trait Implementations
impl Clone for HttpRequestHeaders
[src]
fn clone(&self) -> HttpRequestHeaders
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for HttpRequestHeaders
[src]
impl From<ComRc<dyn ICoreWebView2HttpRequestHeaders + 'static>> for HttpRequestHeaders
[src]
fn from(inner: ComRc<dyn ICoreWebView2HttpRequestHeaders>) -> Self
[src]
Auto Trait Implementations
impl !RefUnwindSafe for HttpRequestHeaders
impl !Send for HttpRequestHeaders
impl !Sync for HttpRequestHeaders
impl !Unpin for HttpRequestHeaders
impl !UnwindSafe for HttpRequestHeaders
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,