How do popular HTTP servers or frameworks use HTTP protocol to implement asynchronous streams of data from HTTP server to HTTP client? (client could be browser or non-browser)
[client] ----request for data----> [server]
[client] <-------xxx------[server]
[---delay---]
[client] <-------xxxxxx---[server]
[---delay---]
[client] <-------x--------[server]
[---delay---]
[client] <-------xxx------[server]
[---delay---]
[client] <-------xxxx-----[server]
delay can be non deterministic
x is say individual data object that makes sense to server & client.
Just to emphasize, I am not looking for implementation of streams (ex. reactive streams, RxJava etc..), but I would like to know details of how HTTP protocol is used to implement this asynchronous streaming of data (not video streaming, but say, json streaming). For ex, which HTTP headers they use, what kind of connection is used etc.