« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 22 for bufferevent (0.003 sec.)
The EventBufferEvent class 11211
« EventBuffer::write EventBufferEvent::close » PHP Manual Event The EventBufferEvent class 検索 The EventBufferEvent class (PECL event >= 1.2.6-beta) はじめに Represents Libevent's buffer event. Usually an application wants to perform some ... to become writable again. This buffered I/O pattern is common enough that Libevent provides a generic mechanism for it. A "buffer event" consists of an underlying transport (like a socket), a read buffer, and a write buffer. Instead of regular events, which ... give callbacks when the underlying transport is ready to be read or written, a buffer event invokes its user-supplied callbacks when it has read or written enough data. クラス概要 final class EventBufferEvent { /* ... mark , int $highmark ): void public function sslError (): string public static function sslFilter ( EventBase $base , EventBufferEvent $underlying , EventSslContext $ctx , int $state , int $options = 0 ): EventBufferEvent public function sslGetCipherInfo () ...
https://man.mtool.work/php/8.3/class.eventbufferevent.html
The EventBufferEvent class 11211
« EventBuffer::write EventBufferEvent::close » PHP Manual Event The EventBufferEvent class 検索 The EventBufferEvent class (PECL event >= 1.2.6-beta) はじめに Represents Libevent's buffer event. Usually an application wants to perform some ... to become writable again. This buffered I/O pattern is common enough that Libevent provides a generic mechanism for it. A "buffer event" consists of an underlying transport (like a socket), a read buffer, and a write buffer. Instead of regular events, which ... give callbacks when the underlying transport is ready to be read or written, a buffer event invokes its user-supplied callbacks when it has read or written enough data. クラス概要 final class EventBufferEvent { /* ... mark , int $highmark ): void public function sslError (): string public static function sslFilter ( EventBase $base , EventBufferEvent $underlying , EventSslContext $ctx , int $state , int $options = 0 ): EventBufferEvent public function sslGetCipherInfo () ...
https://man.mtool.work/php/8.3/class.eventbufferevent.html
Assign a priority to a bufferevent 11211
« EventBufferEvent::setCallbacks EventBufferEvent::setTimeouts » PHP Manual EventBufferEvent Assign a priority to a bufferevent 検索 EventBufferEvent::setPriority (PECL event >= 1.2.6-beta) EventBufferEvent::setPriority — Assign a priority ... to a bufferevent 説明 public function EventBufferEvent::setPriority ( int $priority ): bool Assign a priority to a bufferevent 警告 Only su ... pported for socket buffer events パラメータ priority Priority value. 戻り値 成功した場合に true を、失敗した場合に false を返します。 関連キーワード: pri ... ority EventBufferEvent Assign bufferevent setPriority setCallbacks setTimeouts event beta supported socket buffer events Priority 成功 ...
https://man.mtool.work/php/8.3/eventbufferevent.setpriority.html
Assign a priority to a bufferevent 11144
« EventBufferEvent::setCallbacks EventBufferEvent::setTimeouts » PHP Manual EventBufferEvent Assign a priority to a bufferevent 検索 EventBufferEvent::setPriority (PECL event >= 1.2.6-beta) EventBufferEvent::setPriority — Assign a priority ... to a bufferevent 説明 public function EventBufferEvent::setPriority ( int $priority ): bool Assign a priority to a bufferevent 警告 Only su ... pported for socket buffer events パラメータ priority Priority value. 戻り値 成功した場合に true を、失敗した場合に false を返します。 関連キーワード: pri ... ority EventBufferEvent Assign bufferevent setPriority 場合 setCallbacks Search setTimeouts event beta function int bool 警告 supported socket buf ...
https://man.mtool.work/php/8.3/eventbufferevent.setpriority.html
Tells a bufferevent to begin SSL renegotiation 10757
« EventBufferEvent::sslGetProtocol EventBufferEvent::sslSocket » PHP Manual EventBufferEvent Tells a bufferevent to begin SSL renegotiation 検索 EventBufferEvent::sslRenegotiate (PECL event >= 1.2.6-beta) EventBufferEvent::sslRenegotiate — ... Tells a bufferevent to begin SSL renegotiation 説明 public function EventBufferEvent::sslRenegotiate (): void Tells a bufferevent to begin SSL ... renegotiation. 警告 Calling this function tells the SSL to renegotiate, and the buffer event to invoke appropriate callbacks. This is an advanced topic; this should be generally avoided unless one really knows what ... ues related to renegotiation. パラメータ この関数にはパラメータはありません。 戻り値 値を返しません。 関連キーワード: EventBufferEvent renegotiation Tells bufferevent begin sslRenegotiate event function パラメータ sslGetProtocol Search sslSocket beta void 警 ...
https://man.mtool.work/php/8.3/eventbufferevent.sslrenegotiate.html
Tells a bufferevent to begin SSL renegotiation 10757
« EventBufferEvent::sslGetProtocol EventBufferEvent::sslSocket » PHP Manual EventBufferEvent Tells a bufferevent to begin SSL renegotiation 検索 EventBufferEvent::sslRenegotiate (PECL event >= 1.2.6-beta) EventBufferEvent::sslRenegotiate — ... Tells a bufferevent to begin SSL renegotiation 説明 public function EventBufferEvent::sslRenegotiate (): void Tells a bufferevent to begin SSL ... renegotiation. 警告 Calling this function tells the SSL to renegotiate, and the buffer event to invoke appropriate callbacks. This is an advanced topic; this should be generally avoided unless one really knows what ... ues related to renegotiation. パラメータ この関数にはパラメータはありません。 戻り値 値を返しません。 関連キーワード: EventBufferEvent renegotiation Tells bufferevent begin sslRenegotiate event sslGetProtocol sslSocket beta Calling tells renegotiate buffer ...
https://man.mtool.work/php/8.3/eventbufferevent.sslrenegotiate.html
Returns most recent OpenSSL error reported on the buffer event 8265
« EventBufferEvent::setWatermark EventBufferEvent::sslFilter » PHP Manual EventBufferEvent Returns most recent OpenSSL error reported on the buffer event 検索 EventBufferEvent::sslError (PECL event >= 1.2.6-beta) EventBufferEvent::sslError ... — Returns most recent OpenSSL error reported on the buffer event 説明 public function EventBufferEvent::sslError (): string Returns most recent OpenSSL error reported on the buffer event ... with OpenSSL support. パラメータ この関数にはパラメータはありません。 戻り値 Returns OpenSSL error string reported on the buffer event, or false , if there is no more error to return. 例 例1 EventBufferEvent::sslError() example <?php // This callback is in ... ner, // e.g. connection closed, or an error occurred function ssl_event_cb ( $bev , $events , $ctx ) { if ( $events & EventBufferEvent :: ERROR ) { // Fetch errors from the SSL error stack while ( $err = $bev -> sslError ()) { fprintf ( STDERR , "Buffereven ...
https://man.mtool.work/php/8.3/eventbufferevent.sslerror.html
例 8265
« インストール手順 Event flags » PHP Manual Event 例 検索 例 例1 Simple HTTP client <?php // Read callback function readcb ( $bev , $base ) { //$input = $bev->input; //$bev->getInput(); //$pos = $input->search("TTP"); $pos = $bev -> input - ... $buf , 1024 )) > 0 ) { echo $buf ; } } // Event callback function eventcb ( $bev , $events , $base ) { if ( $events & EventBufferEvent :: CONNECTED ) { echo "Connected.\n" ; } elseif ( $events & ( EventBufferEvent :: ERROR | EventBufferEvent :: EOF )) { if ... ( $events & EventBufferEvent :: ERROR ) { echo "DNS error: " , $bev -> getDnsErrorString (), PHP_EOL ; } echo "Closing\n" ; $base -> exit (); exit( "Do ... base , TRUE ); // We'll use async DNS resolving if (! $dns_base ) { exit( "Failed to init DNS Base\n" ); } $bev = new EventBufferEvent ( $base , /* use internal socket */ NULL , EventBufferEvent :: OPT_CLOSE_ON_FREE | EventBufferEvent :: OPT_DEFER_CALLBACKS ...
https://man.mtool.work/php/8.3/event.examples.html
Returns most recent OpenSSL error reported on the buffer event 8265
« EventBufferEvent::setWatermark EventBufferEvent::sslFilter » PHP Manual EventBufferEvent Returns most recent OpenSSL error reported on the buffer event 検索 EventBufferEvent::sslError (PECL event >= 1.2.6-beta) EventBufferEvent::sslError ... — Returns most recent OpenSSL error reported on the buffer event 説明 public function EventBufferEvent::sslError (): string Returns most recent OpenSSL error reported on the buffer event ... with OpenSSL support. パラメータ この関数にはパラメータはありません。 戻り値 Returns OpenSSL error string reported on the buffer event, or false , if there is no more error to return. 例 例1 EventBufferEvent::sslError() example <?php // This callback is in ... ner, // e.g. connection closed, or an error occurred function ssl_event_cb ( $bev , $events , $ctx ) { if ( $events & EventBufferEvent :: ERROR ) { // Fetch errors from the SSL error stack while ( $err = $bev -> sslError ()) { fprintf ( STDERR , "Buffereven ...
https://man.mtool.work/php/8.3/eventbufferevent.sslerror.html
例 8030
« インストール手順 Event flags » PHP Manual Event 例 検索 例 例1 Simple HTTP client <?php // Read callback function readcb ( $bev , $base ) { //$input = $bev->input; //$bev->getInput(); //$pos = $input->search("TTP"); $pos = $bev -> input - ... $buf , 1024 )) > 0 ) { echo $buf ; } } // Event callback function eventcb ( $bev , $events , $base ) { if ( $events & EventBufferEvent :: CONNECTED ) { echo "Connected.\n" ; } elseif ( $events & ( EventBufferEvent :: ERROR | EventBufferEvent :: EOF )) { if ... ( $events & EventBufferEvent :: ERROR ) { echo "DNS error: " , $bev -> getDnsErrorString (), PHP_EOL ; } echo "Closing\n" ; $base -> exit (); exit( "Do ... base , TRUE ); // We'll use async DNS resolving if (! $dns_base ) { exit( "Failed to init DNS Base\n" ); } $bev = new EventBufferEvent ( $base , /* use internal socket */ NULL , EventBufferEvent :: OPT_CLOSE_ON_FREE | EventBufferEvent :: OPT_DEFER_CALLBACKS ...
https://man.mtool.work/php/8.3/event.examples.html
PREV 1 2 3 NEXT