An API for adding custom browser proxy bypass rules

Made a cool mod to CEF that you'd like to share with others? Discuss CEF modifications here, and view modifications that others have made.

Re: An API for adding custom browser proxy bypass rules

Postby magreenblatt » Thu Mar 28, 2013 12:38 pm

mihait wrote:Adding a custom scheme handler doesn't sound so clear, could you please provide more info on this?

Using custom scheme handlers or GetResourceHandler() allows your application to handle requests internal to the application. For example, you can register scheme://myapp/ as a standard scheme via CefApp::OnRegisterCustomSchemes (meaning it behaves the same as HTTP) and then load content from the local file system, zip archive, etc. using CefResourceHandler. You can also handle http requests in the same manner -- just choose a domain that will be considered internal to your application.
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm

Previous

Return to Modifications Forum

Who is online

Users browsing this forum: No registered users and 20 guests