Reconnect on ping-pong errors too i guess?

cz_post_ftx
Tyler Goodlet 2022-12-10 14:57:50 -05:00
parent 5c459f21be
commit de93da202b
1 changed files with 2 additions and 0 deletions

View File

@ -26,6 +26,7 @@ import json
import trio import trio
import trio_websocket import trio_websocket
from wsproto.utilities import LocalProtocolError
from trio_websocket._impl import ( from trio_websocket._impl import (
ConnectionClosed, ConnectionClosed,
DisconnectionTimeout, DisconnectionTimeout,
@ -51,6 +52,7 @@ class NoBsWs:
ConnectionRejected, ConnectionRejected,
HandshakeError, HandshakeError,
ConnectionTimeout, ConnectionTimeout,
LocalProtocolError,
) )
def __init__( def __init__(