B4J Question Question about JServer Websocket Handle

Waldemar Lima

Well-Known Member
Licensed User
Longtime User
Hi everyone !
i am learning about JServer Library [ WebSocket ] .
so i have a doubt about WebSocket Handle .

When connected user is "Disconnected" , session will be deleted automatically ? ( if not , how can i destroy this session ? )
 

LucaMs

Expert
Licensed User
Longtime User
When the websocket is disconnected... is disconnected, therefore the session is closed.

If you are asking about the websocket handler class instance it will be automatically destroyed if there are no references to it.
 
Upvote 0
Top