cbs-web-antivirus-scanner/venv/lib/python3.12/site-packages/engineio/base_socket.py

16 lines
400 B
Python
Raw Normal View History

2024-11-19 14:19:23 -06:00
class BaseSocket:
upgrade_protocols = ['websocket']
def __init__(self, server, sid):
self.server = server
self.sid = sid
self.queue = self.server.create_queue()
self.last_ping = None
self.connected = False
self.upgrading = False
self.upgraded = False
self.closing = False
self.closed = False
self.session = {}