Sockets

the socket api is under /api/socket, ok !

I´m using a 5gl laguage, proprietary. How do I use sockets in this case ?

First I can do a http resquest do log using a token , ok, it´s done !

But how to obtain data from the socket itself ?

The server always must bem wss://999.99.99.99.9:8082/api/socket ?

How can I send this kind of request ?

Any example ? Even in Javascript ?

Thanks in advance ?

Anton Tananaev4 years ago

Check the official web app. The source code is available on GitHub.

ok ! I´ll see that ! Thanks !

It´s in java ! I didn´t understand java !

I wan to :

  • open a session with token ( ok, it´s done, and it´s givin me a json with user data )

  • now I want to connect to the socket , and with a "timer" read the messages every 30 seconds from the socket !

exactly in this part I get lost !

Thank you !

Anton Tananaev4 years ago

Web app is in JavaScript.

Really, sorry,

Still not clear to me how it knows if I´m connect or granted a access ?