interface ICoreWebView2WebResourceRequestedEventHandler

Note

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

interface ICoreWebView2WebResourceRequestedEventHandler
  : 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(ICoreWebView2 * sender, ICoreWebView2WebResourceRequestedEventArgs * args)