EventBufferEvent::sslGetCipherVersion

(PECL event >= 1.10.0) Returns version of cipher used by current SSL connection. public string EventBufferEvent::sslGetCipherVersion ( void ) Retrieves version of cipher used by current SSL connection. Note: This function is available only if Event is compiled with OpenSSL support. Returns: Returns the current cipher version of the SSL connection, or FALSE on error.

EventBufferEvent::sslGetCipherName

(PECL event >= 1.10.0) Returns the current cipher name of the SSL connection. public string EventBufferEvent::sslGetCipherName ( void ) Retrieves name of cipher used by current SSL connection. Note: This function is available only if Event is compiled with OpenSSL support. Returns: Returns the current cipher name of the SSL connection, or FALSE on error.

EventBufferEvent::sslGetCipherInfo

(PECL event >= 1.10.0) Returns a textual description of the cipher. public string EventBufferEvent::sslGetCipherInfo ( void ) Retrieves description of the current cipher by means of the SSL_CIPHER_description SSL API function (see SSL_CIPHER_get_name(3) man page). Note: This function is available only if Event is compiled with OpenSSL support. Returns: Returns a textual description of the

EventBufferEvent::sslFilter

(PECL event >= 1.2.6-beta) Create a new SSL buffer event to send its data over another buffer event public static EventBufferEvent EventBufferEvent::sslFilter ( EventBase $base , EventBufferEvent $underlying , EventSslContext $ctx , int $state [, int $options = 0 ] ) Create a new SSL buffer event to send its data over another buffer event Note: This function is available only if Event is compiled with OpenSSL suppor

EventBufferEvent::sslError

(PECL event >= 1.2.6-beta) Returns most recent OpenSSL error reported on the buffer event public string EventBufferEvent::sslError ( void ) Returns most recent OpenSSL error reported on the buffer event. Note: This function is available only if Event is compiled with OpenSSL support. Returns: Returns OpenSSL error string reported on the buffer event, or FALSE, if there is no more error to

EventBufferEvent::setWatermark

(PECL event >= 1.2.6-beta) Adjusts read and/or write watermarks public void EventBufferEvent::setWatermark ( int $events , int $lowmark , int $highmark ) Adjusts the read watermarks, the write watermarks , or both, of a single buffer event. A buffer event watermark is an edge, a value specifying number of bytes to be read or written before callback is invoked. By default every read/write event triggers a callback invo

EventBufferEvent::setTimeouts

(PECL event >= 1.2.6-beta) Set the read and write timeout for a buffer event public bool EventBufferEvent::setTimeouts ( float $timeout_read , float $timeout_write ) Set the read and write timeout for a buffer event Parameters: timeout_read Read timeout timeout_write Write timeout Returns: Returns TRUE on s

EventBufferEvent::setPriority

(PECL event >= 1.2.6-beta) Assign a priority to a bufferevent public bool EventBufferEvent::setPriority ( int $priority ) Assign a priority to a bufferevent Parameters: priority Priority value. Returns: Returns TRUE on success. Otherwise FALSE. Only supported for socket buffer events

EventBufferEvent::setCallbacks

(PECL event >= 1.2.6-beta) Assigns read, write and event(status) callbacks public void EventBufferEvent::setCallbacks ( callable $readcb , callable $writecb , callable $eventcb [, string $arg ] ) Assigns read, write and event(status) callbacks. Parameters: readcb Read event callback. See About buffer event callbacks . writecb Writ

EventBufferEvent::readBuffer

(PECL event >= 1.2.6-beta) Drains the entire contents of the input buffer and places them into buf public bool EventBufferEvent::readBuffer ( EventBuffer $buf ) Drains the entire contents of the input buffer and places them into buf . Parameters: buf Target buffer Returns: Returns TRUE on success; Otherwise FALSE.