Adding native websocket support

This commit is contained in:
Miroslav Štampar 2026-07-09 13:56:40 +02:00
parent 4c12dda2f7
commit fc1ae6950e
6 changed files with 371 additions and 27 deletions

View file

@ -19,12 +19,8 @@ import sys
import time
import traceback
try:
import websocket
from websocket import WebSocketException
except ImportError:
class WebSocketException(Exception):
pass
from lib.request import websocket
from lib.request.websocket import WebSocketException
from lib.core.agent import agent
from lib.core.common import asciifyUrl