Make use of async asio, use websockets and make it "sync, then stream".
Make use of async asio, use websockets and make it "sync, then stream".