cURL / Mailing Lists / curl-library / Single Mail


HTTP get,put,delete,post

From: vick <>
Date: Fri, 4 Dec 2009 14:38:23 +0530

i am trying to visualize how curl would work from a C++ app that would
use http to interact.
it seems there is too much being hidden behind the scenes in easy_perform.

I mean you want to
1. http get some data into some buffer or holder with the ability to
diagnose the error/recover
2. maybe make some changes, and post it
3. maybe delete something,
4. maybe create some resource etc

With the curl_write_function, it seems all you can do is recieve data
in pieces without any visibility into errors - there's no way to say
if it is complete from within the write_function?

Similarly with Read, i guess.

A sample would help. Also, i may have to connect/work http with
multiple servers.
List admin:
Received on 2009-12-04