This reference is no longer being maintained. For the latest API reference, see WebView2 API Reference.
interface ICoreWebView2WebResourceRequestedEventHandler : public IUnknown
Fires when a URL request (through network, file etc.) is made in the webview for a Web resource matching resource context filter and URL specified in AddWebResourceRequestedFilter.
|Invoke||Called to provide the implementer with the event args for the corresponding event.|
The host can view and modify 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 Authorization headers.
Called to provide the implementer with the event args for the corresponding event.