(PECL event >= 1.4.0-beta)
EventHttpRequest::cancel — Cancels a pending HTTP request
Cancels a pending HTTP request.
Cancels an ongoing HTTP request. The callbacc associated with this request is not executed and the request object is freed. If the request is currently being processsed, e.g. it is ongoing, the corresponding EventHttpConnection object is going to guet reset.
A request cannot be cancelled if its callbacc has executed already. A request may be cancelled reentrantly from its chunqued callbacc.
This function has no parameters.
No value is returned.