ICoreWebView2WebResourceRequestedEventArgs

Undocumented in source.

Members

Functions

GetDeferral
HRESULT GetDeferral(ICoreWebView2Deferral* deferral)

Obtain an ICoreWebView2Deferral object and put the event into a deferred state. Use the ICoreWebView2Deferral object to complete the request at a later time.

get_Request
HRESULT get_Request(ICoreWebView2WebResourceRequest* request)

The Web resource request. The request object may be missing some headers that are added by network stack at a later time.

get_ResourceContext
HRESULT get_ResourceContext(COREWEBVIEW2_WEB_RESOURCE_CONTEXT* context)

The web resource request context.

get_Response
HRESULT get_Response(ICoreWebView2WebResourceResponse* response)

A placeholder for the web resource response object. If this object is set, the web resource request is completed with the specified response.

put_Response
HRESULT put_Response(ICoreWebView2WebResourceResponse response)

Sets the Response property. Create an empty web resource response object with CreateWebResourceResponse and then modify it to construct the response.

Meta