Trait webview2_sys::ICoreWebView2WebResourceRequestedEventArgs[][src]

pub trait ICoreWebView2WebResourceRequestedEventArgs: IUnknown {
    unsafe fn get_request(
        &self,
        request: *mut *mut *mut ICoreWebView2WebResourceRequestVTable
    ) -> HRESULT;
unsafe fn get_response(
        &self,
        response: *mut *mut *mut ICoreWebView2WebResourceResponseVTable
    ) -> HRESULT;
unsafe fn put_response(
        &self,
        response: *mut *mut ICoreWebView2WebResourceResponseVTable
    ) -> HRESULT;
unsafe fn get_deferral(
        &self,
        deferral: *mut *mut *mut ICoreWebView2DeferralVTable
    ) -> HRESULT;
unsafe fn get_resource_context(
        &self,
        context: *mut WebResourceContext
    ) -> HRESULT; }
Expand description

Event args for the WebResourceRequested event.

Required methods

The Web resource request. The request object may be missing some headers that are added by network stack at a later time.

A placeholder for the web resource response object. If this object is set, the web resource request is completed with the specified response.

Sets the Response property. Create an empty web resource response object with CreateWebResourceResponse and then modify it to construct the response.

Obtain an ICoreWebView2Deferral object and put the event into a deferred state. Use the ICoreWebView2Deferral object to complete the request at a later time.

The web resource request context.

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