52 lines
4.4 KiB
HTML
52 lines
4.4 KiB
HTML
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||
|
<title>CLiki: cl-curl</title>
|
||
|
<link rel="alternate" type="application/atom+xml" title="ATOM feed of edits to current article"
|
||
|
href="https://www.cliki.net/site/feed/article.atom?title=cl-curl">
|
||
|
<link rel="stylesheet" href="static/css/style.css">
|
||
|
<link rel="stylesheet" href="static/css/colorize.css">
|
||
|
</head>
|
||
|
|
||
|
<body>
|
||
|
<span class="hidden">CLiki - cl-curl</span>
|
||
|
<div id="content"><div id="content-area"><div id="article-title">cl-curl</div><div id="article">Cl-curl is a set of Lisp binding to the C <a href="http://curl.haxx.se/libcurl/">libcurl</a> <a href="HTTP client.html" class="category">HTTP client</a> library, a multiprotocol file transfer library. Libcurl is the basis for the popular curl unix/windows command line tool for fetching URIs.<p>You'll need the <a href="http://curl.haxx.se/libcurl/c/">C API doc</a>.<p>It is useful for network communication where <a href="trivial-http.html" class="internal">trivial-http</a> is too trivial. For example, it will allow you to access a web page where keeping cookies is required.<p>Homepage: <a href="http://common-lisp.net/project/cl-curl/">http://common-lisp.net/project/cl-curl/</a><p>License: <a href="LLGPL.html" class="category">LLGPL</a><p>There is an <a href="ASDF.html" class="internal">ASDF</a> file curl.asd in the distribution; but this is not asdf installible. Presumably because the package, system, and asdf file are named curl and curl is an overloaded term (see <a href="curl.html" class="internal">curl</a>). With luck the asdf system will compile the necessary C file; if not there are directions in the C file for compiling it by hand.<p>Here is a very simple usage example:<p><code>(with-connection-returning-string (:reassure t) (set-option :url "http://www.cliki.net/Recent Changes") (perform))</code><p>illustrating a few things to beware of. The convenience macro with-connection-returning-string both does not quote URLs, nor does it return an error code. This macro also redefines via flet set-option and perform, etc from the usual definitions in the package.<p>The universe of options you can set is impressive (see curl::*option-codes* in the source), as is the set of protocols supported.<p><hr>
|
||
|
<a href="networking.html" class="category">networking</a></div></div>
|
||
|
<div id="footer" class="buttonbar"><ul><li><a href="cl-curl.html">Current version</a></li>
|
||
|
<li><a href="https://www.cliki.net/site/history?article=cl-curl">History</a></li>
|
||
|
<li><a href="https://www.cliki.net/site/backlinks?article=cl-curl">Backlinks</a></li><li><a href="https://www.cliki.net/site/edit-article?title=cl-curl&from-revision=3807728309">Edit</a></li><li><a href="https://www.cliki.net/site/edit-article?create=t">Create</a></li></ul></div>
|
||
|
</div>
|
||
|
<div id="header-buttons" class="buttonbar">
|
||
|
<ul>
|
||
|
<li><a href="https://www.cliki.net/">Home</a></li>
|
||
|
<li><a href="https://www.cliki.net/site/recent-changes">Recent Changes</a></li>
|
||
|
<li><a href="CLiki.html">About</a></li>
|
||
|
<li><a href="Text Formatting.html">Text Formatting</a></li>
|
||
|
<li><a href="https://www.cliki.net/site/tools">Tools</a></li>
|
||
|
</ul>
|
||
|
<div id="search">
|
||
|
<form action="https://www.cliki.net/site/search">
|
||
|
<label for="search_query" class="hidden">Search CLiki</label>
|
||
|
<input type="text" name="query" id="search_query" value="" />
|
||
|
<input type="submit" value="search" />
|
||
|
</form>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div id="pageheader">
|
||
|
<div id="header">
|
||
|
<span id="logo">CLiki</span>
|
||
|
<span id="slogan">the common lisp wiki</span>
|
||
|
<div id="login"><form method="post" action="https://www.cliki.net/site/login">
|
||
|
<label for="login_name" class="hidden">Account name</label>
|
||
|
<input type="text" name="name" id="login_name" class="login_input" />
|
||
|
<label for= "login_password" class="hidden">Password</label>
|
||
|
<input type="password" name="password" id="login_password" class="login_input" />
|
||
|
<input type="submit" name="login" value="login" id="login_submit" /><br />
|
||
|
<div id="register"><a href="https://www.cliki.net/site/register">register</a></div>
|
||
|
<input type="submit" name="reset-pw" value="reset password" id="reset_pw" />
|
||
|
</form>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body></html>
|