Is there a way to return a response every x seconds or so to a single http request?
Posted
by
luis
on Pro Webmasters
See other posts from Pro Webmasters
or by luis
Published on 2011-06-24T08:30:07Z
Indexed on
2011/06/24
8:31 UTC
Read the original article
Hit count: 212
http
I'm wondering if it's possible to send a response every second or so to a single http request. Like for example the client makes an http request, then the server sends a space character every second. This could be never ending or with a limit, for example a minute.
I think the word 'response' is misleading in this context, since I don't necessarily mean an http response. The whole http response could be composed of the space characters, which would mean a single http response to a single http request, except that it is a minute long.
I tried chunked encoding but I don't think it works, or at least my implementation's wrong.
© Pro Webmasters or respective owner