Replies: 1 comment 9 replies
-
The LoadError event should be called and provide the relevant error code. I'd suggest you can use the new LoadUrlAsync method, you can get errors and http status code from the response. You'll need version 91 for this method. CefSharp/CefSharp/WebBrowserExtensions.cs Line 256 in 4e16f3b |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! I use the following code to download url. But it doesnt throw any exception if internet is disconnected (now I see that just by getting empty source html code of the loaded webpage):
`public virtual void LoadUrlCore(string url)
{
(Browser.RequestHandler as CustomRequestHandler).LastResponceStatusCode = -1;
Beta Was this translation helpful? Give feedback.
All reactions