Trait webview2_sys::ICoreWebView2WebResourceRequestedEventHandler[][src]

pub trait ICoreWebView2WebResourceRequestedEventHandler: IUnknown {
    unsafe fn invoke(
        &self,
        sender: *mut *mut ICoreWebView2VTable,
        args: *mut *mut ICoreWebView2WebResourceRequestedEventArgsVTable
    ) -> HRESULT; }
Expand description

Runs when a URL request (through network, file, and so on) is made in the webview for a Web resource matching resource context filter and URL specified in AddWebResourceRequestedFilter. The host views and modifies the request or provide a response in a similar pattern to HTTP, in which case the request immediately completed. This may not contain any request headers that are added by the network stack, such as an Authorization header.

Required methods

Provides the event args for the corresponding event.

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