From f41bd71e6152174c3b0819c7549fa431e8a01222 Mon Sep 17 00:00:00 2001 From: Andreas Rumpf Date: Wed, 24 Feb 2010 01:04:39 +0100 Subject: SQLite wrapper --- examples/curlex.nim | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 examples/curlex.nim (limited to 'examples/curlex.nim') diff --git a/examples/curlex.nim b/examples/curlex.nim new file mode 100644 index 000000000..7f666f775 --- /dev/null +++ b/examples/curlex.nim @@ -0,0 +1,10 @@ +import + libcurl + +var hCurl = curl_easy_init() +if hCurl != nil: + discard curl_easy_setopt(hCurl, CURLOPT_VERBOSE, True) + discard curl_easy_setopt(hCurl, CURLOPT_URL, "http://force7.de/nimrod") + discard curl_easy_perform(hCurl) + curl_easy_cleanup(hCurl) + -- cgit 1.4.1-2-gfad0