You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to invoke/enable the client to server connection when required ?
I need to :
Connect to a server.
Send the data
Wait for ACKnowledgement from server
Disable/destroy/end the connection
I noticed in the examples the connection gets created but not destroyed at all.
The websocket loop is run continuously it seems.
Did I miss something important ?
As mentioned above I only need it up for the duration of the communication and then it needs to be closed. It would be great to websocketClient.start and a websocketClient.stop.
I would appreciate any help , extra info and/or feedback.