Trait webview2_sys::ICoreWebView2Environment2[][src]

pub trait ICoreWebView2Environment2: ICoreWebView2Environment {
    unsafe fn create_web_resource_request(
        &self,
        uri: LPCWSTR,
        method: LPCWSTR,
        post_data: *mut *mut IStreamVTable,
        headers: LPCWSTR,
        request: *mut *mut *mut ICoreWebView2WebResourceRequestVTable
    ) -> HRESULT; }
Expand description

A continuation of the ICoreWebView2Environment interface.

Required methods

Create a new web resource request object. URI parameter must be absolute URI. The headers string is the raw request header string delimited by CRLF (optional in last header). It’s also possible to create this object with null headers string and then use the ICoreWebView2HttpRequestHeaders to construct the headers line by line. For information on other parameters see ICoreWebView2WebResourceRequest.

\snippet ScenarioNavigateWithWebResourceRequest.cpp NavigateWithWebResourceRequest

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