Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/sammchardy/python-binance
/ stop_client
Method
stop_client
binance/ws/threaded_stream.py:102–105 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
100
self._socket_running[socket_name] = False
101
102
async
def
stop_client(self):
103
if
not self._client:
104
return
105
await self._client.close_connection()
106
107
def
stop(self):
108
self._log.debug(
"Stopping ThreadedApiManager"
)
Callers
3
stop
Method · 0.95
test_stop_client
Function · 0.80
test_stop_client_when_not_initialized
Function · 0.80
Calls
1
close_connection
Method · 0.45
Tested by
2
test_stop_client
Function · 0.64
test_stop_client_when_not_initialized
Function · 0.64