EventHttpRequest::cancel

(PECL event >= 1.4.0-beta)

EventHttpRequest::cancelCancels a pending HTTP request

설명

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.

인수

이 함수는 인수가 없습니다.

반환값

값을 반환하지 않습니다.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top