I want to shut down server on window close (CEFsimple close) by sending http request to localhost:5000/shutdown. I belive this should do the job
browser->GetMainFrame()->LoadURL("http://127.0.0.1:5000/shutdown/");
So, where is the right place to do that? I have tried with functions like DoClose() and OnBeforeClose()...