HTTP long polling before upgrade

This commit is contained in:
Firq 2024-10-01 23:24:31 +02:00
parent 401e446059
commit ed24d59a92
Signed by: Firq
GPG key ID: 3ACC61C8CEC83C20
2 changed files with 2 additions and 1 deletions

View file

@ -72,7 +72,7 @@ class DockgeConnection:
Connect to the websocket Connect to the websocket
""" """
# Dockge uses Socket.io for the websockets, so this URI and params are always the same # Dockge uses Socket.io for the websockets, so this URI and params are always the same
self._sio.connect(f"https://{self._host}/socket.io/", transports=['websocket']) self._sio.connect(f"https://{self._host}/socket.io/")
self.login() self.login()
def login(self): def login(self):

View file

@ -4,6 +4,7 @@ version = "0.1.1"
dependencies = [ dependencies = [
"pyyaml~=6.0.1", "pyyaml~=6.0.1",
"pydantic~=2.8.0", "pydantic~=2.8.0",
"requests~=2.32.3",
"python-socketio~=5.11.3", "python-socketio~=5.11.3",
"websocket-client~=1.8.0", "websocket-client~=1.8.0",
"tabulate ~=0.9.0", "tabulate ~=0.9.0",