Is there a way to return a response every x seconds or so to a single http request?
- by luis
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.