ICoreWebView2HttpResponseHeaders

Trait ICoreWebView2HttpResponseHeaders 

Source
pub trait ICoreWebView2HttpResponseHeaders: IUnknown {
    // Required methods
    unsafe fn append_header(&self, name: LPCWSTR, value: LPCWSTR) -> HRESULT;
    unsafe fn contains(&self, name: LPCWSTR, contains: *mut BOOL) -> HRESULT;
    unsafe fn get_header(&self, name: LPCWSTR, value: *mut LPWSTR) -> HRESULT;
    unsafe fn get_headers(
        &self,
        name: LPCWSTR,
        iterator: *mut *mut *mut ICoreWebView2HttpHeadersCollectionIteratorVTable,
    ) -> HRESULT;
    unsafe fn get_iterator(
        &self,
        iterator: *mut *mut *mut ICoreWebView2HttpHeadersCollectionIteratorVTable,
    ) -> HRESULT;
}
Expand description

HTTP response headers. Used to construct a WebResourceResponse for the WebResourceRequested event.

Required Methods§

Source

unsafe fn append_header(&self, name: LPCWSTR, value: LPCWSTR) -> HRESULT

Appends header line with name and value.

Source

unsafe fn contains(&self, name: LPCWSTR, contains: *mut BOOL) -> HRESULT

Verifies that the headers contain entries that match the header name.

Source

unsafe fn get_header(&self, name: LPCWSTR, value: *mut LPWSTR) -> HRESULT

Gets the first header value in the collection matching the name.

Source

unsafe fn get_headers( &self, name: LPCWSTR, iterator: *mut *mut *mut ICoreWebView2HttpHeadersCollectionIteratorVTable, ) -> HRESULT

Gets the header values matching the name.

Source

unsafe fn get_iterator( &self, iterator: *mut *mut *mut ICoreWebView2HttpHeadersCollectionIteratorVTable, ) -> HRESULT

Gets an iterator over the collection of entire response headers.

Trait Implementations§

Source§

impl ComInterface for dyn ICoreWebView2HttpResponseHeaders

Source§

const IID: IID = IID_ICORE_WEB_VIEW2_HTTP_RESPONSE_HEADERS

The associated id for this interface
Source§

type VTable = ICoreWebView2HttpResponseHeadersVTable

A COM compatible V-Table
Source§

type Super = dyn IUnknown

The interface that this interface inherits from
Source§

fn is_iid_in_inheritance_chain(riid: &GUID) -> bool

Check whether a given IID is in the inheritance hierarchy of this interface
Source§

impl<C: ICoreWebView2HttpResponseHeaders> ProductionComInterface<C> for dyn ICoreWebView2HttpResponseHeaders

Source§

fn vtable<O: Offset>() -> Self::VTable

Get the vtable for a particular COM interface

Implementations on Foreign Types§

Source§

impl<T: ICoreWebView2HttpResponseHeaders + ComInterface + ?Sized> ICoreWebView2HttpResponseHeaders for ComPtr<T>

Source§

impl<T: ICoreWebView2HttpResponseHeaders + ComInterface + ?Sized> ICoreWebView2HttpResponseHeaders for ComRc<T>

Implementors§