Trait webview2_sys::ICoreWebView2HttpResponseHeaders[][src]

pub trait ICoreWebView2HttpResponseHeaders: IUnknown {
    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

Appends header line with name and value.

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

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

Gets the header values matching the name.

Gets an iterator over the collection of entire response headers.

Trait Implementations

A COM compatible V-Table

The interface that this interface inherits from

The associated id for this interface

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

Get the vtable for a particular COM interface

Implementations on Foreign Types

Implementors