Rename event <disconnection> to <disconnected> (to mantain compliance).

This commit is contained in:
Davide Casale
2023-10-01 21:37:43 +02:00
parent 8a1632d3c2
commit ca4050a35b
3 changed files with 5 additions and 5 deletions

View File

@@ -206,7 +206,7 @@ class BfxWebSocketClient(Connection, Connection.Authenticable):
raise error
if not self.__reconnection:
self.__event_emitter.emit("disconnection",
self.__event_emitter.emit("disconnected",
self._websocket.close_code, \
self._websocket.close_reason)