interface ICoreWebView2ExperimentalWebResourceResponseReceivedEventArgs

Note

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

Note

This an experimental API that is shipped with our prerelease SDK. See WebView2 release notes.

interface ICoreWebView2ExperimentalWebResourceResponseReceivedEventArgs
  : 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.

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(ICoreWebView2ExperimentalWebResourceResponseView ** response)