alex1818 / serf

Automatically exported from code.google.com/p/serf
Apache License 2.0
0 stars 0 forks source link

Example application using serf please #136

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I looked around and couln't find any guide or an example program that shows the 
basic usage of this lovely library!

Original issue reported on code.google.com by dcko...@gmail.com on 16 Nov 2013 at 1:10

GoogleCodeExporter commented 9 years ago
There are a number of examples in the test/ directory in the source tree - see 
serf_get.c for a basic example.  Subversion's ra_serf library is a far more 
complex use case if you want to take a look:

http://svn.apache.org/repos/asf/subversion/trunk/subversion/libsvn_ra_serf/

Original comment by justin.e...@gmail.com on 16 Nov 2013 at 1:19

GoogleCodeExporter commented 9 years ago
Thanks Justin ... serf_get.c looks easy to follow.

To be honest, there is still a "gap in the market" that serf can fulfill! Curl 
(IMO) is just not enough for high performance services; anything that needs 
"carrier grade" access to an HTTP backend or service.

It will be an useful thing to have an easy to follow tutorial or at least an 
architecture overview. A diagram would be perfect; would speak a 1000 words!

Original comment by dcko...@gmail.com on 18 Nov 2013 at 10:45

GoogleCodeExporter commented 9 years ago
A tutorial would be nice indeed, just as API documentation. A design diagram 
exists on the wiki:
https://code.google.com/p/serf/wiki/ApplicationContextBuckets06
It doesn't come with documentation, but it's up to date with serf 1.3.x. (in 
other words, the design hasn't changed since serf 0.6).

Original comment by lieven.govaerts@gmail.com on 18 Nov 2013 at 11:05