Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Note
This reference is no longer being maintained. For the latest API reference, see WebView2 API Reference.
interface IWebView2WebResourceRequestedEventArgs
: public IUnknown
Event args for the WebResourceRequested event.
Summary
| Members | Descriptions |
|---|---|
| get_Request | The HTTP request. |
| get_Response | The HTTP response. |
| put_Response | Set the Response property. |
| GetDeferral | Obtain an IWebView2Deferral object and put the event into a deferred state. |
Members
get_Request
The HTTP request.
public HRESULT get_Request(IWebView2WebResourceRequest ** request)
get_Response
The HTTP response.
public HRESULT get_Response(IWebView2WebResourceResponse ** response)
put_Response
Set the Response property.
public HRESULT put_Response(IWebView2WebResourceResponse * response)
GetDeferral
Obtain an IWebView2Deferral object and put the event into a deferred state.
public HRESULT GetDeferral(IWebView2Deferral ** deferral)
You can use the IWebView2Deferral object to complete the network request at a later time.