OnResourceResponse vs GetResourceHandler

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

OnResourceResponse vs GetResourceHandler

Postby Staxcelrom » Tue Jun 14, 2022 6:00 am

Hello,

The description of the OnResourceResponse method says that:

WARNING: Redirecting using this method is deprecated. use
OnBeforeResourceLoad or GetResourceHandler to perform redirects.


But, how can OnBeforeResourceLoad or GetResourceHandler - be a replacement for OnResourceResponse if there is no object in their Incoming parameters - CefRefPtr<CefResponse> response ?
Staxcelrom
Expert
 
Posts: 206
Joined: Wed Jan 26, 2022 8:20 am

Return to Support Forum

Who is online

Users browsing this forum: No registered users and 41 guests