mirror of
https://github.com/aljazceru/bitfinex-api-py.git
synced 2025-12-19 06:44:22 +01:00
Change visibility of decorators require_websocket_connection and require_websocket_authentication (and hardcode HEARTBEAT).
This commit is contained in:
@@ -7,7 +7,7 @@ __all__ = [
|
||||
"TooManySubscriptions",
|
||||
"ZeroConnectionsError",
|
||||
"ReconnectionTimeoutError",
|
||||
"WebSocketAuthenticationRequired",
|
||||
"ActionRequiresAuthentication",
|
||||
"InvalidAuthenticationCredentials",
|
||||
"EventNotSupported",
|
||||
"OutdatedClientVersion"
|
||||
@@ -38,7 +38,7 @@ class ReconnectionTimeoutError(BfxWebSocketException):
|
||||
This error indicates that the connection has been offline for too long without being able to reconnect.
|
||||
"""
|
||||
|
||||
class WebSocketAuthenticationRequired(BfxWebSocketException):
|
||||
class ActionRequiresAuthentication(BfxWebSocketException):
|
||||
"""
|
||||
This error indicates an attempt to access a protected resource without logging in first.
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user