%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 188.40.95.74 / Your IP : 216.73.216.205 Web Server : Apache System : Linux cp01.striminghost.net 3.10.0-1160.119.1.el7.tuxcare.els13.x86_64 #1 SMP Fri Nov 22 06:29:45 UTC 2024 x86_64 User : vlasotin ( 1054) PHP Version : 5.6.40 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/doc/python-pycurl-7.19.0/doc/ |
Upload File : |
<?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>