mirror of
https://github.com/php/doc-en.git
synced 2026-03-23 23:32:18 +01:00
104 lines
2.7 KiB
XML
104 lines
2.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<variablelist xml:id="constant.curl-share-setopt.constants" role="constant_list">
|
|
<title><function>curl_share_setopt</function></title>
|
|
<varlistentry xml:id="constant.curl-lock-data-connect">
|
|
<term>
|
|
<constant>CURL_LOCK_DATA_CONNECT</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Shares/unshares the connection cache.
|
|
Available as of PHP 7.3.0 and cURL 7.10.3.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.curl-lock-data-cookie">
|
|
<term>
|
|
<constant>CURL_LOCK_DATA_COOKIE</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Shares/unshares cookie data.
|
|
Available as of cURL 7.10.3.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.curl-lock-data-dns">
|
|
<term>
|
|
<constant>CURL_LOCK_DATA_DNS</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
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.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.curl-lock-data-psl">
|
|
<term>
|
|
<constant>CURL_LOCK_DATA_PSL</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Shares/unshares the Public Suffix List.
|
|
Available as of PHP 7.3.0 and cURL 7.61.0.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.curl-lock-data-ssl-session">
|
|
<term>
|
|
<constant>CURL_LOCK_DATA_SSL_SESSION</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
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.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.curlshopt-none">
|
|
<term>
|
|
<constant>CURLSHOPT_NONE</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Available as of cURL 7.10.3.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.curlshopt-share">
|
|
<term>
|
|
<constant>CURLSHOPT_SHARE</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Specifies a type of data that should be shared.
|
|
Available as of cURL 7.10.3.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.curlshopt-unshare">
|
|
<term>
|
|
<constant>CURLSHOPT_UNSHARE</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Specifies a type of data that will be no longer shared.
|
|
Available as of cURL 7.10.3.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|