svn: /phpdoc/ja/trunk/reference/curl/functions/ curl-setopt.xml
[email protected] (Yoshinari Takaoka)
| Newsgroups | php.doc.ja |
|---|---|
| Message-ID | <[email protected]> |
mumumu Thu, 06 Feb 2020 12:56:00 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=349150
Log:
some translated. still Status: working.
Changed paths:
U phpdoc/ja/trunk/reference/curl/functions/curl-setopt.xml
svn-diffs-349150.txt
(text/x-diff, 16.5 KB)
Modified: phpdoc/ja/trunk/reference/curl/functions/curl-setopt.xml
===================================================================
--- phpdoc/ja/trunk/reference/curl/functions/curl-setopt.xml 2020-02-06 12:16:27 UTC (rev 349149)
+++ phpdoc/ja/trunk/reference/curl/functions/curl-setopt.xml 2020-02-06 12:56:00 UTC (rev 349150)
@@ -357,11 +357,11 @@
<row>
<entry valign="top"><constant>CURLOPT_KEEP_SENDING_ON_ERROR</constant></entry>
<entry valign="top">
- <!-- to be translated -->
- &true; to keep sending the request body if the HTTP code returned is
- equal to or larger than 300. The default action would be to stop sending
- and close the stream or connection. Suitable for manual NTLM authentication.
- Most applications do not need this option.
+ 返されたHTTPコードが300以上であっても、リクエストボディを送信し続ける場合は &true; にします。
+ デフォルトのアクションはリクエストボディの送信を止め、
+ ストリームまたは接続を閉じます。
+ 手動でNTLM認証を行う場合に、このオプションは適切です。
+ ほとんどのアプリケーションは、このオプションは不要です。
</entry>
<entry valign="top">
PHP 7.3.0 以降で、libcurl >= 7.51.0 とビルドした場合に利用可能です。
@@ -540,13 +540,10 @@
<row>
<entry valign="top"><constant>CURLOPT_PROXY_SSL_VERIFYPEER</constant></entry>
<entry valign="top">
- <!-- to be translated -->
- &false; to stop cURL from verifying the peer's certificate.
- Alternate certificates to verify against can be
- specified with the <constant>CURLOPT_CAINFO</constant> option
- or a certificate directory can be specified with the
- <constant>CURLOPT_CAPATH</constant> option.
- When set to false, the peer certificate verification succeeds regardless.
+ &false; を設定すると、cURL がピアの証明書の検証を行わなくなります。
+ 別の証明書を検証するには、<constant>CURLOPT_CAINFO</constant> オプションで指定するか、
+ <constant>CURLOPT_CAPATH</constant> を使って証明書のディレクトリを指定するやり方が使えます。
+ &false; を指定すると、ピアの証明書の検証はオプションに関係なく成功します。
</entry>
<entry valign="top">
&true; がデフォルトです。
@@ -556,10 +553,11 @@
<row>
<entry valign="top"><constant>CURLOPT_SUPPRESS_CONNECT_HEADERS</constant></entry>
<entry valign="top">
- <!-- to be translated -->
- &true; to suppress proxy CONNECT response headers from the user callback functions
- <constant>CURLOPT_HEADERFUNCTION</constant> and <constant>CURLOPT_WRITEFUNCTION</constant>,
- when <constant>CURLOPT_HTTPPROXYTUNNEL</constant> is used and a CONNECT request is made.
+ &true; を設定すると、
+ <constant>CURLOPT_HTTPPROXYTUNNEL</constant> を使って CONNECT リクエストが生成された場合に、
+ ユーザーのコールバック関数
+ <constant>CURLOPT_HEADERFUNCTION</constant> および <constant>CURLOPT_WRITEFUNCTION</constant>
+ では proxy CONNECT のレスポンスヘッダを抑制します。
</entry>
<entry valign="top">
cURL 7.54.0 で追加されました。PHP 7.3.0 以降で使用可能です。
@@ -707,11 +705,11 @@
<row>
<entry valign="top"><constant>CURLOPT_HAPPY_EYEBALLS_TIMEOUT_MS</constant></entry>
<entry valign="top">
- <!-- to be translated -->
- Head start for ipv6 for the happy eyeballs algorithm. Happy eyeballs attempts
- to connect to both IPv4 and IPv6 addresses for dual-stack hosts,
- preferring IPv6 first for timeout milliseconds.
- Defaults to CURL_HET_DEFAULT, which is currently 200 milliseconds.
+ Happy Eyeballs アルゴリズムで IPv6 接続を優先して開始します。
+ Happy Eyeballs アルゴリズムは、
+ デュアルスタックホストのために IPv4 と IPv6アドレス両方に接続を試みますが、
+ IPv6 を優先して扱い、そのタイムアウトをミリ秒単位で指定します。
+ デフォルトは CURL_HET_DEFAULT であり、現状は200ミリ秒です。
</entry>
<entry valign="top">
cURL 7.59.0 で追加されました。PHP 7.3.0 以降で使用可能です。
@@ -1071,7 +1069,7 @@
</simpara>
</entry>
<entry valign="top">
- Available since PHP 7.3.0 and libcurl >= cURL 7.52.0.
+ PHP 7.3.0 以降 および cURL >= 7.52.0 をビルドした場合に使用可能です。
</entry>
</row>
<row>
@@ -1087,14 +1085,13 @@
In production environments the value of this option should be kept at <literal>2</literal> (default value).
</entry>
<entry valign="top">
- Available since PHP 7.3.0 and libcurl >= cURL 7.52.0.
+ PHP 7.3.0 以降 および cURL >= 7.52.0 をビルドした場合に使用可能です。
</entry>
</row>
<row>
- <!-- to be translated -->
<entry valign="top"><constant>CURLOPT_PROXY_SSLVERSION</constant></entry>
<entry valign="top">
- One of <constant>CURL_SSLVERSION_DEFAULT</constant>,
+ 以下のうちのひとつが指定できます: <constant>CURL_SSLVERSION_DEFAULT</constant>,
<constant>CURL_SSLVERSION_TLSv1</constant>,
<constant>CURL_SSLVERSION_TLSv1_0</constant>,
<constant>CURL_SSLVERSION_TLSv1_1</constant>,
@@ -1104,17 +1101,18 @@
<constant>CURL_SSLVERSION_MAX_TLSv1_0</constant>,
<constant>CURL_SSLVERSION_MAX_TLSv1_2</constant>,
<constant>CURL_SSLVERSION_MAX_TLSv1_2</constant>,
- <constant>CURL_SSLVERSION_MAX_TLSv1_3</constant> or
- <constant>CURL_SSLVERSION_SSLv3</constant>.
+ <constant>CURL_SSLVERSION_MAX_TLSv1_3</constant>,
+ <constant>CURL_SSLVERSION_SSLv3</constant>
<note>
<para>
- Your best bet is to not set this and let it use the default <constant>CURL_SSLVERSION_DEFAULT</constant>
- which will attempt to figure out the remote SSL protocol version.
+ 最も良い選択は、このオプションを設定せず、
+ デフォルトの <constant>CURL_SSLVERSION_DEFAULT</constant> を使うことです。
+ このオプションは、リモートのSSLプロトコルのバージョンを見つけようとします。
</para>
</note>
</entry>
<entry valign="top">
- Available since PHP 7.3.0 and libcurl >= cURL 7.52.0.
+ PHP 7.3.0 以降 および cURL >= 7.52.0 をビルドした場合に使用可能です。
</entry>
</row>
<row>
@@ -1174,17 +1172,17 @@
</entry>
</row>
<row>
- <!-- to be translated -->
<entry valign="top"><constant>CURLOPT_TIMEVALUE_LARGE</constant></entry>
<entry valign="top">
- The time in seconds since January 1st, 1970. The time will be used
- by <constant>CURLOPT_TIMECONDITION</constant>. Defaults to zero.
- The difference between this option and <constant>CURLOPT_TIMEVALUE</constant>
- is the type of the argument. On systems where 'long' is only 32 bit wide,
- this option has to be used to set dates beyond the year 2038.
+ 1970年1月1日からの経過時刻を秒単位で示します。
+ この値は <constant>CURLOPT_TIMECONDITION</constant> によって使われます。
+ デフォルトは0です。
+ このオプションと <constant>CURLOPT_TIMEVALUE</constant> の違いは引数の型です。
+ 'long' が 32ビット長しかないシステムでは、
+ 2038年以降の日付を設定するためにこのオプションを使わなければいけません。
</entry>
<entry valign="top">
- Added in cURL 7.59.0. Available since PHP 7.3.0.
+ cURL 7.59.0 で追加されました。PHP 7.3.0 以降で使用可能です。
</entry>
</row>
<row>
@@ -1268,18 +1266,17 @@
</thead>
<tbody>
<row>
- <!-- to be translated -->
<entry valign="top"><constant>CURLOPT_ABSTRACT_UNIX_SOCKET</constant></entry>
<entry valign="top">
- Enables the use of an abstract Unix domain socket instead of
- establishing a TCP connection to a host and sets the path to
- the given <type>string</type>. This option shares the same semantics
- as <constant>CURLOPT_UNIX_SOCKET_PATH</constant>. These two options
- share the same storage and therefore only one of them can be set
- per handle.
+ ホストにTCP接続する代わりに、抽象化されたUnixドメインソケットの使用を有効にし、
+ パスを指定された <type>string</type> に設定します。
+ このオプションは <constant>CURLOPT_UNIX_SOCKET_PATH</constant>
+ と同じセマンティクスを共有しています。
+ これらのふたつのオプションは同じストレージを共有するので、
+ ハンドルごとにそれらのうちのひとつだけを設定できます。
</entry>
<entry valign="top">
- Available since PHP 7.3.0 and cURL 7.53.0
+ cURL 7.53.0 で追加されました。PHP 7.3.0 以降で利用可能です。
</entry>
</row>
<row>
@@ -1467,7 +1464,6 @@
<entry valign="top">
</entry>
</row>
- <!-- to be translated -->
<row>
<entry valign="top"><constant>CURLOPT_LOGIN_OPTIONS</constant></entry>
<entry valign="top">
@@ -1556,7 +1552,7 @@
Defaults to using port 1080 for proxies if a port is not specified.
</entry>
<entry valign="top">
- Available since PHP 7.3.0 and libcurl >= cURL 7.52.0.
+ PHP 7.3.0 以降 および cURL >= 7.52.0 をビルドした場合に使用可能です。
</entry>
</row>
<row>
@@ -1588,7 +1584,7 @@
to be stored.
</entry>
<entry valign="top">
- Available since PHP 7.3.0 and libcurl >= cURL 7.52.0.
+ PHP 7.3.0 以降 および cURL >= 7.52.0 をビルドした場合に使用可能です。
</entry>
</row>
<row>
@@ -1597,7 +1593,7 @@
The directory holding multiple CA certificates to verify the HTTPS proxy with.
</entry>
<entry valign="top">
- Available since PHP 7.3.0 and libcurl >= cURL 7.52.0.
+ PHP 7.3.0 以降 および cURL >= 7.52.0 をビルドした場合に使用可能です。
</entry>
</row>
<row>
@@ -1608,7 +1604,7 @@
the SSL exchange.
</entry>
<entry valign="top">
- Available since PHP 7.3.0 and libcurl >= cURL 7.52.0.
+ PHP 7.3.0 以降 および cURL >= 7.52.0 をビルドした場合に使用可能です。
</entry>
</row>
<row>
@@ -1620,7 +1616,7 @@
This option is for connecting to an HTTPS proxy, not an HTTPS server.
</entry>
<entry valign="top">
- Available since PHP 7.3.0 and libcurl >= cURL 7.52.0.
+ PHP 7.3.0 以降 および cURL >= 7.52.0 をビルドした場合に使用可能です。
</entry>
</row>
<row>
@@ -1632,7 +1628,7 @@
"sha256//" and separated by ";"
</entry>
<entry valign="top">
- Available since PHP 7.3.0 and libcurl >= cURL 7.52.0.
+ PHP 7.3.0 以降 および cURL >= 7.52.0 をビルドした場合に使用可能です。
</entry>
</row>
<row>
@@ -1647,7 +1643,7 @@
"./" prefix, in order to avoid confusion with a nickname.
</entry>
<entry valign="top">
- Available since PHP 7.3.0 and libcurl >= cURL 7.52.0.
+ PHP 7.3.0 以降 および cURL >= 7.52.0 をビルドした場合に使用可能です。
</entry>
</row>
<row>
@@ -1660,7 +1656,7 @@
PKCS#12-encoded files. Defaults to "PEM".
</entry>
<entry valign="top">
- Available since PHP 7.3.0 and libcurl >= cURL 7.52.0.
+ PHP 7.3.0 以降 および cURL >= 7.52.0 をビルドした場合に使用可能です。
</entry>
</row>
<row>
@@ -1672,7 +1668,7 @@
but colons are normally used, !, - and + can be used as operators.
</entry>
<entry valign="top">
- Available since PHP 7.3.0 and libcurl >= cURL 7.52.0.
+ PHP 7.3.0 以降 および cURL >= 7.52.0 をビルドした場合に使用可能です。
</entry>
</row>
<row>
@@ -1686,7 +1682,7 @@
TLS 1.3 cipher suites by using the <constant>CURLOPT_PROXY_SSL_CIPHER_LIST</constant> option.
</entry>
<entry valign="top">
- Available since PHP 7.3.0 and libcurl >= cURL 7.61.0. Available when built with OpenSSL >= 1.1.1.
+ PHP 7.3.0 以降 および cURL >= 7.61.0 と OpenSSL >= 1.1.1 をビルドした場合に使用可能です。
</entry>
</row>
<row>
@@ -1698,7 +1694,7 @@
(iOS and Mac OS X only) This option is ignored if curl was built against Secure Transport.
</entry>
<entry valign="top">
- Available since PHP 7.3.0 and libcurl >= cURL 7.52.0. Available if built TLS enabled.
+ PHP 7.3.0 以降 および cURL >= 7.61.0 をビルドした場合、かつ TLS が有効な場合にのみ使用可能です。
</entry>
</row>
<row>
@@ -1707,7 +1703,7 @@
The format of your private key. Supported formats are "PEM", "DER" and "ENG".
</entry>
<entry valign="top">
- Available since PHP 7.3.0 and libcurl >= cURL 7.52.0.
+ PHP 7.3.0 以降 および cURL >= 7.52.0 をビルドした場合に使用可能です。
</entry>
</row>
<row>
@@ -1718,7 +1714,7 @@
<constant>CURLOPT_PROXY_TLSAUTH_USERNAME</constant> option to also be set.
</entry>
<entry valign="top">
- Available since PHP 7.3.0 and libcurl >= cURL 7.52.0.
+ PHP 7.3.0 以降 および cURL >= 7.52.0 をビルドした場合に使用可能です。
</entry>
</row>
<row>
@@ -1735,7 +1731,7 @@
</note>
</entry>
<entry valign="top">
- Available since PHP 7.3.0 and libcurl >= cURL 7.52.0.
+ PHP 7.3.0 以降 および cURL >= 7.52.0 をビルドした場合に使用可能です。
</entry>
</row>
<row>
@@ -1746,7 +1742,7 @@
<constant>CURLOPT_PROXY_TLSAUTH_PASSWORD</constant> option to also be set.
</entry>
<entry valign="top">
- Available since PHP 7.3.0 and libcurl >= cURL 7.52.0.
+ PHP 7.3.0 以降 および cURL >= 7.52.0 をビルドした場合に使用可能です。
</entry>
</row>
<row>
@@ -1930,7 +1926,7 @@
TLS 1.3 cipher suites by using the <constant>CURLOPT_SSL_CIPHER_LIST</constant> option.
</entry>
<entry valign="top">
- Available since PHP 7.3.0 and libcurl >= cURL 7.61.0. Available when built with OpenSSL >= 1.1.1.
+ PHP 7.3.0 以降 および cURL >= 7.61.0 と OpenSSL >= 1.1.1 をビルドした場合に使用可能です。
</entry>
</row>
<row>