interface ICoreWebView2WebResourceResponseReceivedEventArgs

Note

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

interface ICoreWebView2WebResourceResponseReceivedEventArgs
  : public IUnknown

Event args for the WebResourceResponseReceived event.

Summary

Members Descriptions
get_Request The request object for the web resource, as committed.
get_Response View of the response object received for the web resource.

Applies to

Product Introduced
WebView2 Win32 1.0.705.50
WebView2 Win32 Prerelease 1.0.721

Members

get_Request

The request object for the web resource, as committed.

public HRESULT get_Request(ICoreWebView2WebResourceRequest ** request)

This includes headers added by the network stack that were not be included during the associated WebResourceRequested event, such as Authentication headers. Modifications to this object have no effect on how the request is processed as it has already been sent.

get_Response

View of the response object received for the web resource.

public HRESULT get_Response(ICoreWebView2WebResourceResponseView ** response)