[][src]Struct webview2::HttpRequestHeaders

pub struct HttpRequestHeaders { /* fields omitted */ }

Wrapper for ICoreWebView2HttpRequestHeaders.

Implementations

impl HttpRequestHeaders[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]

impl Debug for HttpRequestHeaders[src]

impl From<ComRc<dyn ICoreWebView2HttpRequestHeaders + 'static>> for HttpRequestHeaders[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.