CurlShare ObjectΒΆ

CurlShare objects have the following methods:

setopt(option, value) -> None

Corresponds to curl_share_setopt in libcurl, where option is specified with the CURLSHOPT_* constants in libcurl, except that the CURLSHOPT_ prefix has been changed to SH_. Currently, value must be either LOCK_DATA_COOKIE or LOCK_DATA_DNS.