File size: 293 Bytes
61898fa | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | from quart import Quart, websocket
from core.role_binding_manager import RoleBindingManager
app = Quart(__name__)
@app.websocket('/ws/test')
async def ws_test():
print("ENTER_HANDLER")
await websocket.accept()
await websocket.send('ok')
if __name__ == '__main__':
app.run()
|