Page 2 of 2

Re: An API for adding custom browser proxy bypass rules

PostPosted: Thu Mar 28, 2013 12:38 pm
by magreenblatt
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.