mirror of
https://github.com/jketterl/openwebrx.git
synced 2025-12-06 07:12:09 +01:00
11 lines
316 B
Python
11 lines
316 B
Python
from . import Controller
|
|
from owrx.websocket import WebSocketConnection
|
|
from owrx.connection import HandshakeMessageHandler
|
|
|
|
|
|
class WebSocketController(Controller):
|
|
def indexAction(self):
|
|
conn = WebSocketConnection(self.handler, HandshakeMessageHandler())
|
|
# enter read loop
|
|
conn.handle()
|