<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.eventhttprequest.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'uk',
  ),
  'this' => 
  array (
    0 => 'eventhttprequest.cancel.php',
    1 => 'EventHttpRequest::cancel',
    2 => 'Cancels a pending HTTP request',
  ),
  'up' => 
  array (
    0 => 'class.eventhttprequest.php',
    1 => 'EventHttpRequest',
  ),
  'prev' => 
  array (
    0 => 'eventhttprequest.addheader.php',
    1 => 'EventHttpRequest::addHeader',
  ),
  'next' => 
  array (
    0 => 'eventhttprequest.clearheaders.php',
    1 => 'EventHttpRequest::clearHeaders',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/event/eventhttprequest/cancel.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="eventhttprequest.cancel" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">EventHttpRequest::cancel</h1>
  <p class="verinfo">(PECL event &gt;= 1.4.0-beta)</p><p class="refpurpose"><span class="refname">EventHttpRequest::cancel</span> &mdash; <span class="dc-title">Cancels a pending HTTP request</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-eventhttprequest.cancel-description">
  <h3 class="title">Опис</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span>
   <span class="methodname"><strong>EventHttpRequest::cancel</strong></span>(): <span class="type"><a href="language.types.void.php" class="type void">void</a></span></div>

  <p class="para rdfs-comment">
   Cancels a pending HTTP request.
  </p>
  <p class="para">
   Cancels an ongoing HTTP request. The callback associated with this request
   is not executed and the request object is freed. If the request is
   currently being processed, e.g. it is ongoing, the corresponding
   <span class="classname"><a href="class.eventhttpconnection.php" class="classname">EventHttpConnection</a></span>
   object is going to get reset.
  </p>
  <p class="para">
   A request cannot be canceled if its callback has executed already. A
   request may be canceled reentrantly from its chunked callback.
  </p>
 </div>

 <div class="refsect1 parameters" id="refsect1-eventhttprequest.cancel-parameters">
  <h3 class="title">Параметри</h3>
  <p class="para">У цієї функції немає
параметрів.</p>
 </div>

 <div class="refsect1 returnvalues" id="refsect1-eventhttprequest.cancel-returnvalues">
  <h3 class="title">Значення, що повертаються</h3>
  <p class="para">
   Не повертає значень.
  </p>
 </div>

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