EventHttpRequest::cancel
Почист и полокален преглед на PHP референцата, со задржана структура од PHP.net и подобра читливост за примери, секции и белешки.
EventHttpRequest::cancel
Референца за `eventhttprequest.cancel.php` со подобрена типографија и навигација.
EventHttpRequest::cancel
(PECL event >= 1.4.0-beta)
EventHttpRequest::cancel — Cancels a pending HTTP request
= NULL
Cancels a pending HTTP request.
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 EventHttpConnection object is going to get reset.
A request cannot be canceled if its callback has executed already. A request may be canceled reentrantly from its chunked callback.
Параметри
Оваа функција нема параметри.
Вратени вредности
Не се враќа вредност.