|
1 | 1 | <?xml version="1.0" encoding="utf-8"?>
|
2 | 2 | <!-- $Revision$ -->
|
3 |
| -<!-- EN-Revision: 9bbcd47e469474bbee6ab59061d49bbb9266692e Maintainer: nsfisis Status: working --> |
| 3 | +<!-- EN-Revision: 9bbcd47e469474bbee6ab59061d49bbb9266692e Maintainer: nsfisis Status: ready --> |
4 | 4 | <variablelist role="constant_list">
|
5 | 5 | <title><function>curl_setopt</function></title>
|
6 | 6 | <varlistentry xml:id="constant.curlopt-abstract-unix-socket">
|
|
1245 | 1245 | <member><constant>CURLAUTH_ANY</constant></member>
|
1246 | 1246 | <member><constant>CURLAUTH_ANYSAFE</constant></member>
|
1247 | 1247 | </simplelist>
|
1248 |
| - 2つ以上の認証方法を指定した場合、cURL はサーバがどの認証方法をサポートしているか |
| 1248 | + 2つ以上の認証方法を指定した場合、cURL はサーバーがどの認証方法をサポートしているか |
1249 | 1249 | 問い合わせ、最適なものを選択します。
|
1250 | 1250 | <constant>CURLAUTH_ANY</constant> は全ビットをオンにします。cURL は自動的に
|
1251 | 1251 | 最も安全だと思われるものを選択します。
|
|
3358 | 3358 | </term>
|
3359 | 3359 | <listitem>
|
3360 | 3360 | <para>
|
3361 |
| - A <type>callable</type> that will be called when SSH host key verification is needed. |
| 3361 | + SSH ホストキーの検証が必要になった場合に呼ばれる <type>callable</type> を指定します。 |
3362 | 3362 | このコールバックは、以下のシグニチャである必要があります。
|
3363 | 3363 | <methodsynopsis>
|
3364 | 3364 | <type>int</type><methodname><replaceable>callback</replaceable></methodname>
|
|
3380 | 3380 | <term><parameter>keyType</parameter></term>
|
3381 | 3381 | <listitem>
|
3382 | 3382 | <simpara>
|
3383 |
| - One of the <constant>CURLKHTYPE_<replaceable>*</replaceable></constant> key types. |
| 3383 | + <constant>CURLKHTYPE_<replaceable>*</replaceable></constant> のうちいずれかのキーの種類。 |
3384 | 3384 | </simpara>
|
3385 | 3385 | </listitem>
|
3386 | 3386 | </varlistentry>
|
3387 | 3387 | <varlistentry>
|
3388 | 3388 | <term><parameter>key</parameter></term>
|
3389 | 3389 | <listitem>
|
3390 | 3390 | <simpara>
|
3391 |
| - The key to check. |
| 3391 | + チェックするキー。 |
3392 | 3392 | </simpara>
|
3393 | 3393 | </listitem>
|
3394 | 3394 | </varlistentry>
|
3395 | 3395 | <varlistentry>
|
3396 | 3396 | <term><parameter>keyLength</parameter></term>
|
3397 | 3397 | <listitem>
|
3398 | 3398 | <simpara>
|
3399 |
| - The length of the key in bytes. |
| 3399 | + キーのバイト長。 |
3400 | 3400 | </simpara>
|
3401 | 3401 | </listitem>
|
3402 | 3402 | </varlistentry>
|
3403 | 3403 | </variablelist>
|
3404 |
| - This callback overrides <constant>CURLOPT_SSH_KNOWNHOSTS</constant>. |
| 3404 | + このコールバックは <constant>CURLOPT_SSH_KNOWNHOSTS</constant> を上書きします。 |
3405 | 3405 | PHP 8.3.0 以降かつ cURL 7.84.0 以降で利用可能です。
|
3406 | 3406 | </para>
|
3407 | 3407 | </listitem>
|
|
4451 | 4451 | </term>
|
4452 | 4452 | <listitem>
|
4453 | 4453 | <para>
|
4454 |
| - サーバからのレスポンスを cURL が待機するタイムアウト秒数を指定します。この設定が使われるのは、 |
4455 |
| - <acronym>FTP</acronym> サーバ、<acronym>SFTP</acronym> サーバ、<acronym>IMAP</acronym> サーバ、 |
4456 |
| - <acronym>SCP</acronym> サーバ、<acronym>SMTP</acronym> サーバ、<acronym>POP3</acronym> サーバです。 |
| 4454 | + サーバーからのレスポンスを cURL が待機するタイムアウト秒数を指定します。この設定が使われるのは、 |
| 4455 | + <acronym>FTP</acronym> サーバー、<acronym>SFTP</acronym> サーバー、<acronym>IMAP</acronym> サーバー、 |
| 4456 | + <acronym>SCP</acronym> サーバー、<acronym>SMTP</acronym> サーバー、<acronym>POP3</acronym> サーバーです。 |
4457 | 4457 | このオプションは、cURL 7.85.0 で非推奨となった
|
4458 | 4458 | <constant>CURLOPT_FTP_RESPONSE_TIMEOUT</constant> を置き換えます。
|
4459 | 4459 | PHP 8.4.0 以降で利用可能です。
|
|
4481 | 4481 | </term>
|
4482 | 4482 | <listitem>
|
4483 | 4483 | <para>
|
4484 |
| - A <type>callable</type> with the following signature that gets called after the |
4485 |
| - connection is established, but before the request payload (for example, the |
4486 |
| - GET/POST/DELETE request of an HTTP connection) is sent, and can be used to abort |
4487 |
| - or allow the connection depending on the source and destination IP address and |
4488 |
| - port numbers: |
| 4484 | + 以下のシグニチャを持つ <type>callable</type> を指定します。 |
| 4485 | + このコールバックは、接続が確立され、リクエストペイロード |
| 4486 | + (例えば、HTTP 接続における GET/POST/DELETE リクエスト) が送られる前に呼ばれます。 |
| 4487 | + 送信元/送信先 IP アドレスやポート番号に応じて接続を中止したり許可したりするのに |
| 4488 | + 用いることができます。 |
4489 | 4489 | <methodsynopsis>
|
4490 | 4490 | <type>int</type><methodname><replaceable>callback</replaceable></methodname>
|
4491 | 4491 | <methodparam><type>CurlHandle</type><parameter>curlHandle</parameter></methodparam>
|
|
4507 | 4507 | <term><parameter>destination_ip</parameter></term>
|
4508 | 4508 | <listitem>
|
4509 | 4509 | <simpara>
|
4510 |
| - The primary IP of the remote server established with this connection. |
4511 |
| - For <acronym>FTP</acronym>, this is the IP for the control connection. |
4512 |
| - IPv6 addresses are represented without surrounding brackets. |
| 4510 | + この接続で確立されたリモートサーバーのプライマリー IP アドレス。 |
| 4511 | + <acronym>FTP</acronym> の場合は、制御用接続の IP アドレスになります。 |
| 4512 | + IPv6 のアドレスは、角括弧で囲わずに表現されます。 |
4513 | 4513 | </simpara>
|
4514 | 4514 | </listitem>
|
4515 | 4515 | </varlistentry>
|
4516 | 4516 | <varlistentry>
|
4517 | 4517 | <term><parameter>local_ip</parameter></term>
|
4518 | 4518 | <listitem>
|
4519 | 4519 | <simpara>
|
4520 |
| - The originating IP for this connection. |
4521 |
| - IPv6 addresses are represented without surrounding brackets. |
| 4520 | + この接続の送信元 IP アドレス。 |
| 4521 | + IPv6 のアドレスは、角括弧で囲わずに表現されます。 |
4522 | 4522 | </simpara>
|
4523 | 4523 | </listitem>
|
4524 | 4524 | </varlistentry>
|
4525 | 4525 | <varlistentry>
|
4526 | 4526 | <term><parameter>destination_port</parameter></term>
|
4527 | 4527 | <listitem>
|
4528 | 4528 | <simpara>
|
4529 |
| - The primary port number on the remote server established with this connection. |
4530 |
| - For <acronym>FTP</acronym>, this is the port for the control connection. |
4531 |
| - This can be a <acronym>TCP</acronym> or a <acronym>UDP</acronym> port number depending on the protocol. |
| 4529 | + この接続で確立されたリモートサーバーのプライマリーポート番号。 |
| 4530 | + <acronym>FTP</acronym> の場合は、制御用接続のポート番号になります。 |
| 4531 | + プロトコルに応じて、<acronym>TCP</acronym> または <acronym>UDP</acronym> のポート番号になります。 |
4532 | 4532 | </simpara>
|
4533 | 4533 | </listitem>
|
4534 | 4534 | </varlistentry>
|
4535 | 4535 | <varlistentry>
|
4536 | 4536 | <term><parameter>local_port</parameter></term>
|
4537 | 4537 | <listitem>
|
4538 | 4538 | <simpara>
|
4539 |
| - The originating port number for this connection. |
4540 |
| - This can be a <acronym>TCP</acronym> or a <acronym>UDP</acronym> port number depending on the protocol. |
| 4539 | + この接続の送信元ポート番号。 |
| 4540 | + プロトコルに応じて、<acronym>TCP</acronym> または <acronym>UDP</acronym> のポート番号になります。 |
4541 | 4541 | </simpara>
|
4542 | 4542 | </listitem>
|
4543 | 4543 | </varlistentry>
|
4544 | 4544 | </variablelist>
|
4545 |
| - Return <constant>CURL_PREREQFUNC_OK</constant> to allow the request, or |
4546 |
| - <constant>CURL_PREREQFUNC_ABORT</constant> to abort the transfer. |
| 4545 | + リクエストを許可する場合は <constant>CURL_PREREQFUNC_OK</constant> を、 |
| 4546 | + 転送を中止する場合は <constant>CURL_PREREQFUNC_ABORT</constant> を返してください。 |
4547 | 4547 | PHP 8.4.0 以降かつ cURL 7.80.0 以降で利用可能です。
|
4548 | 4548 | </para>
|
4549 | 4549 | </listitem>
|
|
4557 | 4557 | <para>
|
4558 | 4558 | PHP 8.4.0 以降で利用可能です。
|
4559 | 4559 | このオプションを利用するには <constant>CURLOPT_VERBOSE</constant> オプションを有効にする必要があります。
|
4560 |
| - A <type>callable</type> to replace the standard cURL verbose output. |
4561 |
| - This callback gets called during various stages of the request with verbose debug information. |
4562 |
| - このコールバックは、以下のシグニチャである必要があります。 |
| 4560 | + cURL 標準の詳細出力を置き換える <type>callable</type> を指定します。 |
| 4561 | + このコールバックは、リクエストのさまざまな段階で詳細なデバッグ情報とともに呼び出されます。 |
| 4562 | + これは以下のシグニチャである必要があります。 |
4563 | 4563 | <methodsynopsis>
|
4564 | 4564 | <type>void</type><methodname><replaceable>callback</replaceable></methodname>
|
4565 | 4565 | <methodparam><type>CurlHandle</type><parameter>curlHandle</parameter></methodparam>
|
|
4579 | 4579 | <term><parameter>type</parameter></term>
|
4580 | 4580 | <listitem>
|
4581 | 4581 | <simpara>
|
4582 |
| - One of the following constants indicating the type of the <parameter>data</parameter> value: |
| 4582 | + <parameter>data</parameter> の値の種類を表す以下の定数のいずれか: |
4583 | 4583 | </simpara>
|
4584 | 4584 | <variablelist xml:id="constant.curl-debugfunction.constants" role="constant_list">
|
4585 | 4585 | <varlistentry xml:id="constant.curlinfo-text">
|
|
4589 | 4589 | </term>
|
4590 | 4590 | <listitem>
|
4591 | 4591 | <simpara>
|
4592 |
| - Informational text. |
| 4592 | + なんらかの情報を表すテキスト。 |
4593 | 4593 | </simpara>
|
4594 | 4594 | </listitem>
|
4595 | 4595 | </varlistentry>
|
|
4600 | 4600 | </term>
|
4601 | 4601 | <listitem>
|
4602 | 4602 | <simpara>
|
4603 |
| - Header (or header-like) data received from the peer. |
| 4603 | + 相手から受信したヘッダー (あるいはヘッダーのような) データ。 |
4604 | 4604 | </simpara>
|
4605 | 4605 | </listitem>
|
4606 | 4606 | </varlistentry>
|
|
4611 | 4611 | </term>
|
4612 | 4612 | <listitem>
|
4613 | 4613 | <simpara>
|
4614 |
| - Header (or header-like) data sent to the peer. |
| 4614 | + 相手に送信したヘッダー (あるいはヘッダーのような) データ。 |
4615 | 4615 | </simpara>
|
4616 | 4616 | </listitem>
|
4617 | 4617 | </varlistentry>
|
|
4622 | 4622 | </term>
|
4623 | 4623 | <listitem>
|
4624 | 4624 | <simpara>
|
4625 |
| - Unprocessed protocol data received from the peer. |
4626 |
| - Even if the data is encoded or compressed, it is not provided decoded nor decompressed to this callback. |
| 4625 | + 相手から受信した未処理のプロトコルデータ。 |
| 4626 | + データがエンコードされていたり圧縮されていたりしたとしても、デコードされたデータや展開されたデータがコールバックへ渡されることはありません。 |
4627 | 4627 | </simpara>
|
4628 | 4628 | </listitem>
|
4629 | 4629 | </varlistentry>
|
|
4634 | 4634 | </term>
|
4635 | 4635 | <listitem>
|
4636 | 4636 | <simpara>
|
4637 |
| - Protocol data sent to the peer. |
| 4637 | + 相手に送信したプロトコルデータ。 |
4638 | 4638 | </simpara>
|
4639 | 4639 | </listitem>
|
4640 | 4640 | </varlistentry>
|
|
4645 | 4645 | </term>
|
4646 | 4646 | <listitem>
|
4647 | 4647 | <simpara>
|
4648 |
| - <acronym>SSL</acronym>/<acronym>TLS</acronym> (binary) data received from the peer. |
| 4648 | + 相手から受信した <acronym>SSL</acronym>/<acronym>TLS</acronym> の (バイナリ) データ。 |
4649 | 4649 | </simpara>
|
4650 | 4650 | </listitem>
|
4651 | 4651 | </varlistentry>
|
|
4656 | 4656 | </term>
|
4657 | 4657 | <listitem>
|
4658 | 4658 | <simpara>
|
4659 |
| - <acronym>SSL</acronym>/<acronym>TLS</acronym> (binary) data sent to the peer. |
| 4659 | + 相手に送信した <acronym>SSL</acronym>/<acronym>TLS</acronym> の (バイナリ) データ。 |
4660 | 4660 | </simpara>
|
4661 | 4661 | </listitem>
|
4662 | 4662 | </varlistentry>
|
|
4667 | 4667 | <term><parameter>data</parameter></term>
|
4668 | 4668 | <listitem>
|
4669 | 4669 | <simpara>
|
4670 |
| - Verbose debug data of the type indicate by the <parameter>type</parameter> parameter. |
| 4670 | + <parameter>type</parameter> パラメータで示された種類の詳細なデバッグデータ。 |
4671 | 4671 | </simpara>
|
4672 | 4672 | </listitem>
|
4673 | 4673 | </varlistentry>
|
|
0 commit comments