<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.curl.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'ja',
  ),
  'this' => 
  array (
    0 => 'function.curl-pause.php',
    1 => 'curl_pause',
    2 => '接続の中断と再開をする',
  ),
  'up' => 
  array (
    0 => 'ref.curl.php',
    1 => 'cURL 関数',
  ),
  'prev' => 
  array (
    0 => 'function.curl-multi-strerror.php',
    1 => 'curl_multi_strerror',
  ),
  'next' => 
  array (
    0 => 'function.curl-reset.php',
    1 => 'curl_reset',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'ja',
    'path' => 'reference/curl/functions/curl-pause.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.curl-pause" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">curl_pause</h1>
  <p class="verinfo">(PHP 5 &gt;= 5.5.0, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">curl_pause</span> &mdash; <span class="dc-title">接続の中断と再開をする</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.curl-pause-description">
  <h3 class="title">説明</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>curl_pause</strong></span>(<span class="methodparam"><span class="type"><a href="class.curlhandle.php" class="type CurlHandle">CurlHandle</a></span> <code class="parameter">$handle</code></span>, <span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$flags</code></span>): <span class="type"><a href="language.types.integer.php" class="type int">int</a></span></div>

  <p class="para rdfs-comment">
   cURL の接続セッションを中断、または再開します。
   接続セッションは、転送中であれば、読み取り書き込みどちらの方向であっても
   <span class="function"><a href="function.curl-setopt.php" class="function">curl_setopt()</a></span>
   で登録したコールバックからこの関数をコールすることで中断できます。
  </p>

 </div>


 <div class="refsect1 parameters" id="refsect1-function.curl-pause-parameters">
  <h3 class="title">パラメータ</h3>
  <dl>
   <dt><code class="parameter">handle</code>
</dt><dd><p class="para"><span class="function"><a href="function.curl-init.php" class="function">curl_init()</a></span>
が返す cURL ハンドル。</p></dd>
   
    <dt><code class="parameter">flags</code></dt>
    <dd>
     <p class="para">
      定数 <strong><code><a href="curl.constants.php#constant.curlpause-all">CURLPAUSE_<span class="replaceable">*</span></a></code></strong> のいずれか。
     </p>
    </dd>
   
  </dl>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.curl-pause-returnvalues">
  <h3 class="title">戻り値</h3>
  <p class="para">
   エラーコードを返します (エラーがない場合は <strong><code><a href="curl.constants.php#constant.curle-ok">CURLE_OK</a></code></strong> を返します)。
  </p>
 </div>


 <div class="refsect1 changelog" id="refsect1-function.curl-pause-changelog">
  <h3 class="title">変更履歴</h3>
  <table class="doctable informaltable">
   
    <thead>
     <tr>
      <th>バージョン</th>
      <th>説明</th>
     </tr>

    </thead>

    <tbody class="tbody">
     <tr>
 <td>8.0.0</td>
 <td>
  <code class="parameter">handle</code> は <span class="classname"><a href="class.curlhandle.php" class="classname">CurlHandle</a></span> クラスのインスタンスを期待するようになりました。
  これより前のバージョンでは、<span class="type"><a href="language.types.resource.php" class="type resource">resource</a></span> を期待していました。
 </td>
</tr>

    </tbody>
   
  </table>

 </div>


</div><?php manual_footer($setup); ?>