MCPcopy
hub / github.com/reflex-dev/reflex / disconnect_token

Method disconnect_token

reflex/utils/token_manager.py:93–99  ·  view source on GitHub ↗

Clean up token mapping when client disconnects. Args: token: The client token. sid: The Socket.IO session ID.

(self, token: str, sid: str)

Source from the content-addressed store, hash-verified

91
92 @abstractmethod
93 async def disconnect_token(self, token: str, sid: str) -> None:
94 """Clean up token mapping when client disconnects.
95
96 Args:
97 token: The client token.
98 sid: The Socket.IO session ID.
99 """
100
101 @classmethod
102 def create(cls) -> TokenManager:

Calls

no outgoing calls