Steve Holme
83ae98c6c6
examples: Added IMAP APPEND example
2014-01-01 18:02:06 +00:00
Steve Holme
2658da7604
examples: Added IMAP STORE example
2014-01-01 17:25:12 +00:00
Steve Holme
7de2e03258
examples: Added IMAP LIST mailbox example
2013-12-31 16:28:37 +00:00
Steve Holme
e9625c5bc6
examples: Rename before adding additional email examples
2013-12-31 16:01:31 +00:00
Steve Holme
18a6467c8c
examples: Added SMTP EXPN command example
2013-12-31 14:37:49 +00:00
Christian Grothoff
889cb9c982
sessioninfo.c: Added sample code for CURLINFO_TLS_SESSION
...
Added a simple example to show how one can use CURLINFO_TLS_SESSION for
obtaining extensive TLS certificate information.
2013-11-28 07:05:07 +00:00
Daniel Stenberg
3c34f453fa
postinmemory: new example
...
This is similar to getinmemory.c but with an initial POST.
Combined-by: Ulf Samuelsson
2013-09-29 00:12:30 +02:00
Dan Fandrich
54f18e5427
examples: Moved usercertinmem.c to COMPLICATED_EXAMPLES
...
This prevents it from being built during a "make check" since it
depends on OpenSSL.
2013-07-03 21:13:12 +02:00
Daniel Stenberg
ee84c47655
tarball: include the xmlstream example
2013-05-19 11:21:56 +02:00
Ishan SinghLevett
993cdcd6ee
usercertinmem.c: add example showing user cert in memory
...
Relies on CURLOPT_SSL_CTX_FUNCTION, which is OpenSSL specific
2013-04-18 23:07:15 +02:00
Clemens Gruber
142755fa5c
Added libuv example multi-uv.c
2013-03-27 09:24:49 +01:00
Daniel Stenberg
f435d6699d
htmltitle: use .cpp extension for C++ examples
2012-11-21 18:26:42 +01:00
Lijo Antony
ba33665d1f
examples: Added a c++ example of using multi with boost::asio
...
Added an example for demonstrating the usage of curl multi interface
with boost::asio in c++
2012-11-21 18:21:31 +01:00
Michał Kowalczyk
8ffc971138
href_extractor: example code extracting href elements
...
It does so in a streaming manner using the "Streaming HTML parser".
2012-10-18 16:45:51 +02:00
Daniel Stenberg
8136649e9d
ftpsget: simple example showing a FTPS fetch
2012-08-27 14:50:09 +02:00
Armel Asselin
be5fbf7372
sftpget: example showing a simple SFTP download
...
... using SSH-agent
2012-08-27 14:34:15 +02:00
Daniel Stenberg
21401840fa
url2file: new simple example
...
Just showing how to download the contents of a given URL into a local
file.
Based on a suggestion and example code by Georg Potthast
2012-01-16 14:47:00 +01:00
Daniel Stenberg
e3e24e5b36
imap.c: a dead simple imap example
...
Just to show that IMAP is used just like other protocols
2012-01-16 14:47:00 +01:00
Alessandro Ghedini
90343c76c6
examples: update README, Makefile.inc and gitignore with pop3s examples
2011-12-30 15:30:11 +01:00
Daniel Stenberg
6790a543d4
progressfunc: a simple CURLOPT_PROGRESSFUNCTION example
2011-09-13 22:48:55 +02:00
Daniel Stenberg
cce6508242
resolve.c: new example showing off CURLOPT_RESOLVE
2011-08-23 16:31:10 +02:00
Daniel Stenberg
af809923e4
externalsocket.c: new example
2011-08-23 11:28:35 +02:00
Daniel Stenberg
657d02fbac
rtsp.c: converted to C
...
Trimmed the newlines to be LF-only. Converted the source to plain C, to
use curl style indents, to compile warning-free with picky options and
fixed the minor fprintf() bug on line 245. Added to makefile.
2011-08-10 10:57:50 +02:00
Brad Hards
57523e3578
smtp-tls: new example
...
This example shows how to send SMTP with TLS
2010-12-17 22:55:58 +01:00
Brad Hards
37a22d4749
Docs: add simple SMTP example
...
Add a simple SMTP example program, patterned after some of the existing
examples, and the curl application.
This version addresses issues raised by David Woodhouse on comments in
the simplesmtp.c example.
2010-12-17 22:51:54 +01:00
Dan Fandrich
46041ee918
Added a couple examples that were missing from the tar ball
2010-11-19 17:17:38 -08:00
Yang Tse
34498c13be
fix snapshot generation
2010-11-07 03:39:31 +01:00
Daniel Stenberg
909e711e74
example: add smtp-multi.c
...
An example application source code sending SMTP mail with the multi
interface. It is based on the code Alona Rossen provided, which in turn
is based on existing example/test code, and I converted it even more
into a decent example with a fair multi API use, put the info required
to edit at the top and I added some comments.
2010-11-04 10:32:38 +01:00
Pavel Raiskup
31dd8ab1d6
examples: new FTP wildcard showcase
2010-06-24 23:41:09 +02:00
Daniel Stenberg
aaed838872
add ftpgetinfo
2009-09-05 17:54:30 +00:00
Gunter Knauf
d055226949
added chkspeed to samples.
2009-09-03 17:54:02 +00:00
Daniel Stenberg
dd2fc45c27
Markus Koetter's adaptation of hiperfifo.c to instead use libev
2008-11-21 10:10:33 +00:00
Daniel Stenberg
4c9768565e
- Introducing CURLOPT_CERTINFO and the corresponding CURLINFO_CERTINFO. By
...
enabling this feature with CURLOPT_CERTINFO for a request using SSL (HTTPS
or FTPS), libcurl will gather lots of server certificate info and that info
can then get extracted by a client after the request has completed with
curl_easy_getinfo()'s CURLINFO_CERTINFO option. Linus Nielsen Feltzing
helped me test and smoothen out this feature.
Unfortunately, this feature currently only works with libcurl built to use
OpenSSL.
This feature was sponsored by networking4all.com - thanks!
2008-09-05 14:29:21 +00:00
Daniel Stenberg
aab2d52b25
httpcustomheader.c is a new tiny example showing a HTTP request with a custom
...
header replacing an internal one
2008-08-13 08:51:52 +00:00
Daniel Stenberg
514592b892
- Introducing curl_easy_send() and curl_easy_recv(). They can be used to send
...
and receive data over a connection previously setup with curl_easy_perform()
and its CURLOPT_CONNECT_ONLY option. The sendrecv.c example was added to
show how they can be used.
2008-05-12 21:43:24 +00:00
Dan Fandrich
1e482fe6a8
Changed the makefile so the doc/examples/ programs are never built in a
...
normal build/install (only with the 'make check' target), so that a
build failure in the examples isn't fatal.
2008-03-31 03:01:13 +00:00
Gunter Knauf
6398f71cc4
moved sample program defines into separate Makefile.inc so that other makefiles can pick up the defines from there.
2008-02-18 15:32:34 +00:00