Software: Apache. PHP/7.2.34 uname -a: Linux li456-155.members.linode.com 3.10.0-1160.92.1.el7.x86_64 #1 SMP Tue Jun 20 11:48:01 uid=48(apache) gid=48(apache) groups=48(apache) Safe-mode: OFF (not secure) /usr/share/doc/python-pycurl-7.19.0/doc/ drwxr-xr-x | |
| Viewing file: Select action/file-type: CurlShare ObjectCurlShare objects have the following methods: setopt(option, value) -> NoneCorresponds to
Example usage: 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()
|
:: Command execute :: | |