MCPcopy Create free account
hub / github.com/EasyIME/PIME / remove_client

Method remove_client

python/server.py:106–111  ·  view source on GitHub ↗
(self, client_id)

Source from the content-addressed store, hash-verified

104 sys.exit(1)
105
106 def remove_client(self, client_id):
107 print("client disconnected:", client_id)
108 try:
109 del self.clients[client_id]
110 except KeyError:
111 pass
112
113
114def main():

Callers 1

runMethod · 0.95

Calls 1

printFunction · 0.50

Tested by

no test coverage detected