interface IWebView2WebResourceRequestedEventHandler

Note

This reference is no longer being maintained. For the latest API reference, see WebView2 API Reference.

interface IWebView2WebResourceRequestedEventHandler
  : public IUnknown

Fires when an HTTP request is made in the webview.

Summary

Members Descriptions
Invoke Called to provide the implementer with the event args for the corresponding event.

The host can override request, response headers and response content.

Members

Invoke

Called to provide the implementer with the event args for the corresponding event.

public HRESULT Invoke(IWebView2WebView * webview,IWebView2WebResourceRequestedEventArgs * args)