Difference between CefURLRequest and a browser?

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.

Difference between CefURLRequest and a browser?

Postby Peter » Thu Jun 11, 2020 5:06 am

Hello all,

I am connecting to some kind of a weird server, and what I need to do is to check if the server is up (in a loop), before showing the browser window - and CefURLRequest seems to be the best way to do this. However, I found that when I do that, I always get an error from CefURLRequest no matter how many times I retry, but the usual CEF browser maybe returns http error a few times and then starts working.

I am certainly not experienced enough in http magic - so, I wonder how much of this makes sense? Maybe I am using CefURLRequest and/or the browser in a wrong way?
Using a (hidden) browser instance just to test the connection sounds like a waste of resources, and I'd really like to avoid that...
Peter
Techie
 
Posts: 38
Joined: Thu Mar 05, 2020 9:41 am

Return to Support Forum

Who is online

Users browsing this forum: No registered users and 58 guests