Submit
Path:
~
/
/
usr
/
share
/
doc
/
python-pycurl-7.19.0
/
doc
/
File Content:
curlshareobject.html
<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>PycURL: CurlShare Objects</title> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> <meta name="revisit-after" content="30 days" /> <meta name="robots" content="noarchive, index, follow" /> </head> <body> <h1>CurlShare Object</h1> <p>CurlShare objects have the following methods:</p> <dt><code>setopt(</code><em>option, value</em><code>)</code> -> <em>None</em></dt> <dd> <p>Corresponds to <a href="http://curl.haxx.se/libcurl/c/curl_share_setopt.html"><code>curl_share_setopt</code></a> in libcurl, where <em>option</em> is specified with the CURLSHOPT_* constants in libcurl, except that the CURLSHOPT_ prefix has been changed to SH_. Currently, <em>value</em> must be either LOCK_DATA_COOKIE or LOCK_DATA_DNS. <p>Example usage:</p> <pre> import pycurl curl = pycurl.Curl() s = pycurl.CurlShare() s.setopt(pycurl.SH_SHARE, pycurl.LOCK_DATA_COOKIE) s.setopt(pycurl.SH_SHARE, pycurl.LOCK_DATA_DNS) curl.setopt(pycurl.URL, 'http://curl.haxx.se') curl.setopt(pycurl.SHARE, s) curl.perform() curl.close() </pre> </dd> </dl> <hr /> <p> <a href="http://validator.w3.org/check/referer"><img align="right" src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0!" height="31" width="88" border="0" /></a> $Id: curlshareobject.html,v 1.1 2006/06/18 18:47:19 kjetilja Exp $ </p> </body> </html>
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
callbacks.html
5331 bytes
0644
curlmultiobject.html
4672 bytes
0644
curlobject.html
3333 bytes
0644
curlshareobject.html
1583 bytes
0644
pycurl.html
4591 bytes
0644
N4ST4R_ID | Naxtarrr