EventListener::setErrorCallback

(PECL event >= 1.2.6-beta) Set event listener's error callback public void EventListener::setErrorCallback ( string $cb ) Set event listener's error callback Parameters: cb The error callback. Should match the following prototype: void callback ([ EventListener $listener = NULL [, mixed $data = NULL ]] ) Returns:

EventListener::setCallback

(PECL event >= 1.2.6-beta) The setCallback purpose public void EventListener::setCallback ( callable $cb [, mixed $arg = NULL ] ) Adjust event connect listener's callback and optionally the callback argument. Parameters: cb The new callback for new connections. Ignored if NULL. Should match the following prototype: void callback ([ EventListener $listener = NU

EventListener::getSocketName

(PECL event >= 1.5.0) Retreives the current address to which the listener's socket is bound. public static bool EventListener::getSocketName ( string &$address [, mixed &$port ] ) Retreives the current address to which the listener's socket is bound. Parameters: address Output parameter. IP-address depending on the socket address family.

EventListener::getBase

(PECL event >= 1.2.6-beta) Returns event base associated with the event listener public void EventListener::getBase ( void ) Returns event base associated with the event listener. Returns: Returns event base associated with the event listener.

EventListener::enable

(PECL event >= 1.2.6-beta) Enables an event connect listener object public bool EventListener::enable ( void ) Enables an event connect listener object Returns: Returns TRUE on success. Otherwise FALSE. See also: EventListener::disable() -

EventListener::disable

(PECL event >= 1.2.6-beta) Disables an event connect listener object public bool EventListener::disable ( void ) Disables an event connect listener object Returns: Returns TRUE on success. Otherwise FALSE. See also: EventListener::enable() -

EventListener::__construct

(PECL event >= 1.2.6-beta) Creates new connection listener associated with an event base public EventListener::__construct ( EventBase $base , callable $cb , mixed $data , int $flags , int $backlog , mixed $target ) Creates new connection listener associated with an event base. Parameters: base Associated event base. cb A callable t

EventHttpRequest::sendReplyStart

(PECL event >= 1.4.0-beta) Initiate a chunked reply public void EventHttpRequest::sendReplyStart ( int $code , string $reason ) Initiate a reply that uses Transfer-Encoding chunked . This allows the caller to stream the reply back to the client and is useful when either not all of the reply data is immediately available or when sending very large replies. The caller needs to supply data chunks with EventHttpRequest:

EventHttpRequest::sendReplyEnd

(PECL event >= 1.4.0-beta) Complete a chunked reply, freeing the request as appropriate public void EventHttpRequest::sendReplyEnd ( void ) Complete a chunked reply, freeing the request as appropriate. Returns: No value is returned. See also: EventHttpRequest::sendReplyStart() - Ev

EventHttpRequest::sendReplyChunk

(PECL event >= 1.4.0-beta) Send another data chunk as part of an ongoing chunked reply public void EventHttpRequest::sendReplyChunk ( EventBuffer $buf ) Send another data chunk as part of an ongoing chunked reply. After calling this method buf will be empty. Parameters: buf The data chunk to send as part of the reply. Returns: No value is re