Add an event handler for the WebResourceResponseReceived event.
WebResourceResponseReceived is raised when the WebView receives the
response for a request for a web resource (any URI resolution performed by
the WebView; such as HTTP/HTTPS, file and data requests from redirects,
navigations, declarations in HTML, implicit favicon lookups, and fetch API
usage in the document). The host app can use this event to view the actual
request and response for a web resource. There is no guarantee about the
order in which the WebView processes the response and the host app's
handler runs. The app's handler will not block the WebView from processing
the response.
\snippet ScenarioAuthentication.cpp WebResourceResponseReceived
Add an event handler for the WebResourceResponseReceived event. WebResourceResponseReceived is raised when the WebView receives the response for a request for a web resource (any URI resolution performed by the WebView; such as HTTP/HTTPS, file and data requests from redirects, navigations, declarations in HTML, implicit favicon lookups, and fetch API usage in the document). The host app can use this event to view the actual request and response for a web resource. There is no guarantee about the order in which the WebView processes the response and the host app's handler runs. The app's handler will not block the WebView from processing the response. \snippet ScenarioAuthentication.cpp WebResourceResponseReceived