constants_curl_share_setopt
CURL_LOCK_DATA_CONNECT (int)
Shares/unshares the connection cache. Available as of PHP 7.3.0 and cURL 7.10.3.
CURL_LOCK_DATA_COOKIE (int)
Shares/unshares cookie data. Available as of cURL 7.10.3.
CURL_LOCK_DATA_DNS (int)
Shares/unshares DNS cache. Note that when you use cURL multi handles, all handles added to the same multi handle will share DNS cache by default. Available as of cURL 7.10.3.
CURL_LOCK_DATA_PSL (int)
Shares/unshares the Public Suffix List. Available as of PHP 7.3.0 and cURL 7.61.0.
CURL_LOCK_DATA_SSL_SESSION (int)
Shares/unshares SSL session IDs, reducing the time spent on the SSL handshake when reconnecting to the same server. Note that SSL session IDs are reused within the same handle by default. Available as of cURL 7.10.3.
CURLSHOPT_NONE (int)
Available as of cURL 7.10.3.
CURLSHOPT_SHARE (int)
Specifies a type of data that should be shared. Available as of cURL 7.10.3.
CURLSHOPT_UNSHARE (int)
Specifies a type of data that will be no longer shared. Available as of cURL 7.10.3.
谢谢你的反馈!