Browse Source

disconnect call eio.disconnect(True)

pull/228/head
dkz 7 years ago
parent
commit
4d0cf07b94
  1. 1
      socketio/client.py

1
socketio/client.py

@ -293,6 +293,7 @@ class Client(object):
self._trigger_event('disconnect', namespace='/')
self._send_packet(packet.Packet(
packet.DISCONNECT, namespace='/'))
self.eio.disconnect(True)
def transport(self):
"""Return the name of the transport used by the client.

Loading…
Cancel
Save