Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/miguelgrinberg/python-socketio
/ can_disconnect
Method
can_disconnect
src/socketio/manager.py:19–20 ·
view source on GitHub ↗
(self, sid, namespace)
Source
from the content-addressed store, hash-verified
17
subclasses.
18
""
"
19
def
can_disconnect(self, sid, namespace):
20
return
self.is_connected(sid, namespace)
21
22
def
emit(self, event, data, namespace, room=None, skip_sid=None,
23
callback=None, to=None, **kwargs):
Callers
4
disconnect
Method · 0.45
disconnect
Method · 0.45
test_can_disconnect
Method · 0.45
test_can_disconnect
Method · 0.45
Calls
1
is_connected
Method · 0.80
Tested by
2
test_can_disconnect
Method · 0.36
test_can_disconnect
Method · 0.36