cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Server-sent events with libcurl

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 28 Dec 2010 19:31:29 +0100 (CET)

On Tue, 28 Dec 2010, amit paliwal wrote:

> Server will send SSE on top of HTTP response message and the Client will
> parse that SSE and from there I need to reply to the server, for e.g. some
> status code like event received properly. This reply need to be sent in HTTP
> GET message, so one particular scenario is receiving the HTTP response
> message for SSe and sending reply of SSE in HTTP GET. . I agree that this
> looks kind of opposite, but this is really what I need to implement and I
> need your input whether it can be achieved by libcurl or not? Do I need to
> tweak the code of the library for my custom use?

Sending a HTTP GET with libcurl doesn't sound like "custom use" to me. It
sounds like one of the most commonly used features it has...

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2010-12-28