[−][src]Trait webview2_sys::ICoreWebView2HttpHeadersCollectionIterator
Iterator for a collection of HTTP headers. See ICoreWebView2HttpRequestHeaders and ICoreWebView2HttpResponseHeaders. \snippet ScenarioWebViewEventMonitor.cpp HttpRequestHeaderIterator
Required methods
unsafe fn get_current_header(
&self,
name: *mut LPWSTR,
value: *mut LPWSTR
) -> HRESULT
&self,
name: *mut LPWSTR,
value: *mut LPWSTR
) -> HRESULT
Get the name and value of the current HTTP header of the iterator. This method will fail if the last call to MoveNext set has_next to FALSE.
unsafe fn get_has_current_header(&self, has_current: *mut BOOL) -> HRESULT
True when the iterator hasn't run out of headers. If the collection over which the iterator is iterating is empty or if the iterator has gone past the end of the collection then this is false.
unsafe fn move_next(&self, has_next: *mut BOOL) -> HRESULT
Move the iterator to the next HTTP header in the collection. The hasNext parameter will be set to FALSE if there are no more HTTP headers. After this occurs the GetCurrentHeader method will fail if called.
Trait Implementations
impl ComInterface for dyn ICoreWebView2HttpHeadersCollectionIterator[src]
type VTable = ICoreWebView2HttpHeadersCollectionIteratorVTable
A COM compatible V-Table
type Super = dyn IUnknown
The interface that this interface inherits from
const IID: IID[src]
fn is_iid_in_inheritance_chain(riid: &GUID) -> bool[src]
impl<C: ICoreWebView2HttpHeadersCollectionIterator> ProductionComInterface<C> for dyn ICoreWebView2HttpHeadersCollectionIterator[src]
Implementations on Foreign Types
impl<T: ICoreWebView2HttpHeadersCollectionIterator + ComInterface + ?Sized> ICoreWebView2HttpHeadersCollectionIterator for ComRc<T>[src]
unsafe fn get_current_header(
&self,
name: *mut LPWSTR,
value: *mut LPWSTR
) -> HRESULT[src]
&self,
name: *mut LPWSTR,
value: *mut LPWSTR
) -> HRESULT
unsafe fn get_has_current_header(&self, has_current: *mut BOOL) -> HRESULT[src]
unsafe fn move_next(&self, has_next: *mut BOOL) -> HRESULT[src]
impl<T: ICoreWebView2HttpHeadersCollectionIterator + ComInterface + ?Sized> ICoreWebView2HttpHeadersCollectionIterator for ComPtr<T>[src]
unsafe fn get_current_header(
&self,
name: *mut LPWSTR,
value: *mut LPWSTR
) -> HRESULT[src]
&self,
name: *mut LPWSTR,
value: *mut LPWSTR
) -> HRESULT