How to disconnect client using Autobahn websocket server

#1

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.

françois

···

Le 8 sept. 2012 23:20, “Rizwan” djri...@gmail.com 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??

0 Likes