cbs-web-antivirus-scanner/venv/lib/python3.12/site-packages/engineio/base_socket.py
2024-11-19 15:19:23 -05:00

16 lines
400 B
Python

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 = {}