_build_response()
_get_kwargs()
_parse_response()
asyncio()
asyncio_detailed()
sync()
sync_detailed()
Pass those commands to the engine via websocket, and pass responses back to the client. Basically, this is a websocket proxy between the frontend/client and the engine.