mirror of
https://github.com/ha7ilm/openwebrx.git
synced 2026-01-21 15:50:17 +01:00
11 lines
319 B
Python
11 lines
319 B
Python
from . import Controller
|
|
from owrx.websocket import WebSocketConnection
|
|
from owrx.connection import WebSocketMessageHandler
|
|
|
|
|
|
class WebSocketController(Controller):
|
|
def handle_request(self):
|
|
conn = WebSocketConnection(self.handler, WebSocketMessageHandler())
|
|
# enter read loop
|
|
conn.handle()
|