If your dynamically generated data is small and you don’t care about some overhead, you can just push_event to the client side. You will have to base64 encode the data so it can pass in json. and you may have to chunk it; however, you don’t have to leave the comfort of your liveview.






















