onResourceResponse
Called on the IO thread when a resource response is received. The |browser| and |frame| values represent the source of the request, and may be null for requests originating from service workers or CefURLRequest. To allow the resource load to proceed without modification return false. To redirect or retry the resource load optionally modify |request| and return true. Modification of the request URL will be treated as a redirect. Requests handled using the default network loader cannot be redirected in this callback.
Return
True if |request| was modified or false otherwise
Parameters
The corresponding browser.
The frame generating the event. Instance only valid within the scope of this method.
The request itself. May be modified in this callback. Instance only valid within the scope of this method.
The request response. Cannot be modified in this callback. Instance only valid within the scope of this method.