Closed alexey89777 closed 9 years ago
For future reference please read over the Contributing.md
document specifically https://github.com/cefsharp/CefSharp/blob/master/CONTRIBUTING.md#what-should-i-include-when-creating-an-issue
When including code limit to small chunks, large blocks post as gist or similar
In future please post code samples as a GIST
.
Please also include version and which package your using. In this case it looks like your using CefSharp.OffScreen
(Better for you to include as much detail as possible when posting an issue).
Now onto the problem at hand. You've registered the custom
schema, and as such all Url's starting with custom://
will be intercepted. Change const string testUrl = "custom://mytesturl";
. You can register a custom schema handler for http
, though you'd be responsible for serving the content.
More detailed example of SchemaHandler
can be found at https://github.com/cefsharp/CefSharp/blob/master/CefSharp.Example/CefSharpSchemeHandler.cs#L39
Thanks! It helps me. I will be more careful in the future about posting here. Sorry.
Thanks! It helps me. I will be more careful in the future about posting here. Sorry.
No problem :+1:
Anything else required before closing this issue?
Hello! I need to capture/modify requests/responses. I have register custom scheme handler. The problem is ProcessRequestAsync never invoked? Possible I do something wrong?