Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
If you find these projects useful please consider becoming a sponsor with Patreon, GitHub or Liberapay.
I tried the Simpleserver demo and was able to connect to the webscoket server without issues. Then I tried to send a message using CEFServerComponent.SendWebSocketMessage but got issues on how the string is displayed in the websocket website. My code looks like this:
Another question related to websocket. My application is using a websocket server(TsgcWebSocketHTTPServer)(version 4.0.2) and I wonder if there is specific version that needs to be used with dcef4. I don't know how they are related but after I upgraded to dcef4, I got a random error when writing data to websocket channel connection. I don't know if this is related to using cef as multiprocess. Because of this error, I am thinking of replacing it with TCEFServerComponent component.
It's hard to guess what is the problem but assume that all events in CEF4Delphi components are executed in a different thread just to avoid thread-safety issues.