M mauro vicamini Active Member Licensed User Longtime User Jan 17, 2020 #1 Hello everyone! I'd like to know how to stop a websocket connection from a javascript client that use reconnecting-websocket.js. In my client application I've the need to stop an established connection to my B4J server application. Thanks for the attention
Hello everyone! I'd like to know how to stop a websocket connection from a javascript client that use reconnecting-websocket.js. In my client application I've the need to stop an established connection to my B4J server application. Thanks for the attention
Erel B4X founder Staff member Licensed User Longtime User Jan 19, 2020 #2 You need to call b4j_ws.close(); You can add a close function to b4j_ws and then call it with ws.RunFunction. Upvote 0
You need to call b4j_ws.close(); You can add a close function to b4j_ws and then call it with ws.RunFunction.