How to disconnect client using Autobahn websocket server


hi rizwan,

one possibility is to implement a rpc on client side that will call the socket close() and trigger it from server side. but it is not the best thing to do, I agree, executing it from server directly would be better.



Le 8 sept. 2012 23:20, “Rizwan” a écrit :

Hi, i am using the example of autobahn websocket server in python.
now as a client in javascript, one can disconnect the socket using socket.close(), however if one wants to disconnect connected client from the server how can this be done??