[Development] Does QNetworkAccessManager could provide the Server Sent Event feature ?
Thiago Macieira
thiago.macieira at intel.com
Mon Feb 16 23:58:07 CET 2015
On Monday 16 February 2015 23:52:19 Paul Chavent wrote:
> The parts 6 "Parsing an event stream" [2] gives the specs of the format over
> http. The part 7 "Interpreting an event stream" explains how it should be
> handled by the client. For some sample code, I've found useful those two
> pages [3] and [4].
>
> [2] http://www.w3.org/TR/eventsource/#parsing-an-event-stream
> [3]
> https://today.java.net/article/2010/03/31/html5-server-push-technologies-pa
> rt-1#sse [4] http://www.html5rocks.com/en/tutorials/eventsource/basics/
I'm looking for the HTTP command verb and expected replies.
If it's a GET, POST, PUT, DELETE or similar, with the reply a 200 Ok, then
QNAM already supports this and no modifications are necessary.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
More information about the Development
mailing list