downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

EventHttpRequest::clearHeaders> <EventHttpRequest::addHeader
[edit] Last updated: Fri, 17 May 2013

view this page in

EventHttpRequest::cancel

(PECL event >= 1.4.0-beta)

EventHttpRequest::cancelCancels a pending HTTP request

Description

public void EventHttpRequest::cancel ( void )

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.

Parameters

This function has no parameters.

Return Values

No value is returned.



add a note add a note User Contributed Notes EventHttpRequest::cancel - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites