09-07-2023 01:03 AM
All,
Is there anyone who had tried using secure websocket connection in gweb?
Would it work with the built-in websocket function?
09-07-2023 10:44 AM
A running WebVI built from G Web calls into the browser that it is running on for outbound WebSocket support. Modern browsers should have support for secure WebSocket connections and because the support comes from the browser itself there are some settings, like using self-signed certificates, etc. that would have to be configured at the browser or operating system level and not the WebVI diagram level.
The Connect WebVI to WebSocket Echo Server example has a demo that shows connecting to a secure WebSocket server (notice the wss:// prefix in the URL) to send messages that are then echoed back over WebSockets.
09-10-2023 09:44 PM
Thanks Milan.
I did not notice the shipping example is using wss. Looking into it.