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; }

A continuation of ICoreWebView2Environment interface.

Required methods

unsafe fn create_web_resource_request(
    &self,
    uri: LPCWSTR,
    method: LPCWSTR,
    post_data: *mut *mut IStreamVTable,
    headers: LPCWSTR,
    request: *mut *mut *mut ICoreWebView2WebResourceRequestVTable
) -> HRESULT
[src]

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

Loading content...

Trait Implementations

impl ComInterface for dyn ICoreWebView2Environment2[src]

type VTable = ICoreWebView2Environment2VTable

A COM compatible V-Table

type Super = dyn ICoreWebView2Environment

The interface that this interface inherits from

impl<C: ICoreWebView2Environment2> ProductionComInterface<C> for dyn ICoreWebView2Environment2[src]

Implementations on Foreign Types

impl<T: ICoreWebView2Environment2 + ComInterface + ?Sized> ICoreWebView2Environment2 for ComRc<T>[src]

impl<T: ICoreWebView2Environment2 + ComInterface + ?Sized> ICoreWebView2Environment2 for ComPtr<T>[src]

Loading content...

Implementors

Loading content...