Picture of Carsten
Registered 2 years 136 days
Carsten Monday, 11 July 2022, 02:29 PM
1 of 1 users consider this post helpful
anonymous Websocket connection to my Javascript app service?
What are my options to connect to my Javascript app service?
I would like to trigger an action from an external program that connects to my app service?
Can I create an anonymous Websocket connection to my Javascript app service without any authentication and send and receive Json messages?

Andreas Fink
Moderator Registered 12 years 278 days
Andreas Fink (innovaphone) Tuesday, 12 July 2022, 01:54 PM
1 of 1 users consider this post helpful
Re: anonymous Websocket connection to my Javascript app service?
Hello Carsten,

at the moment JavaScript App Services do not support WebSocket connections without Authentication.

However, this could be done with C++ App Service.

We could extend JavaScript App Service by anonymous WebSocket, in case broader demand for this functionality should arise.

Best Regards
Andreas Fink
Picture of Daniel 450
Registered 14 years 35 days
Daniel 450 Monday, 25 July 2022, 08:38 AM
1 of 1 users consider this post helpful
Re: anonymous Websocket connection to my Javascript app service?
Hello,

we are also very interested in that feature.
Picture of Matthias Schertler (innovaphone)
Moderator Registered 11 years 361 days
Matthias Schertler (innovaphone) Monday, 8 August 2022, 02:01 PM
Re: anonymous Websocket connection to my Javascript app service?
Hello,

I added the support for plain websocket connections for 13r2 SR16.



See the screenshot for some example code as a preview.

BR
Matthias
code.png

← You can define your color theme preference here