Results of 1 - 4 of about 4 for clientData (0.003 sec.)
- Create a new SSL buffer event to send its data over another buffer event 11095
- « EventBufferEvent::sslError EventBufferEvent::sslGetCipherInfo » PHP Manual EventBufferEvent Create a new SSL buffer event to send its data over another buffer event 検索 EventBufferEvent::sslFilter (PECL event >= 1.2.6-beta) EventBufferEv
... blic function ev_accept ( $listener , $fd , $address , $ctx ) { static $id = 0 ; $id += 1 ; $this -> connections [ $id ][ 'clientData' ] = '' ; $this -> connections [ $id ][ 'cnx' ] = new EventBufferEvent ( $this -> base , $fd , EventBufferEvent :: OPT_CLO ... ); } public function ev_read ( $buffer , $id ) { while( $buffer -> input -> length > 0 ) { $this -> connections [ $id ][ 'clientData' ] .= $buffer -> input -> read ( $this -> maxRead ); $clientDataLen = strlen ( $this -> connections [ $id ][ 'clientData' ... ]); if( $this -> connections [ $id ][ 'clientData' ][ $clientDataLen - 1 ] == "\n" && $this -> connections [ $id ][ 'clientData' ][ $clientDataLen - 2 ] == "\r" ) { // remo ...
-
https://man.mtool.work/php/8.3/eventbufferevent.sslfilter.html
- Create a new SSL buffer event to send its data over another buffer event 11095
- « EventBufferEvent::sslError EventBufferEvent::sslGetCipherInfo » PHP Manual EventBufferEvent Create a new SSL buffer event to send its data over another buffer event 検索 EventBufferEvent::sslFilter (PECL event >= 1.2.6-beta) EventBufferEv
... blic function ev_accept ( $listener , $fd , $address , $ctx ) { static $id = 0 ; $id += 1 ; $this -> connections [ $id ][ 'clientData' ] = '' ; $this -> connections [ $id ][ 'cnx' ] = new EventBufferEvent ( $this -> base , $fd , EventBufferEvent :: OPT_CLO ... ); } public function ev_read ( $buffer , $id ) { while( $buffer -> input -> length > 0 ) { $this -> connections [ $id ][ 'clientData' ] .= $buffer -> input -> read ( $this -> maxRead ); $clientDataLen = strlen ( $this -> connections [ $id ][ 'clientData' ... ]); if( $this -> connections [ $id ][ 'clientData' ][ $clientDataLen - 1 ] == "\n" && $this -> connections [ $id ][ 'clientData' ][ $clientDataLen - 2 ] == "\r" ) { // remo ...
-
https://man.mtool.work/php/8.3/eventbufferevent.sslfilter.html
- 例 7397
- « インストール手順 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 -
... blic function ev_accept ( $listener , $fd , $address , $ctx ) { static $id = 0 ; $id += 1 ; $this -> connections [ $id ][ 'clientData' ] = '' ; $this -> connections [ $id ][ 'cnx' ] = new EventBufferEvent ( $this -> base , $fd , EventBufferEvent :: OPT_CLO ... ); } public function ev_read ( $buffer , $id ) { while( $buffer -> input -> length > 0 ) { $this -> connections [ $id ][ 'clientData' ] .= $buffer -> input -> read ( $this -> maxRead ); $clientDataLen = strlen ( $this -> connections [ $id ][ 'clientData' ... ]); if( $this -> connections [ $id ][ 'clientData' ][ $clientDataLen - 1 ] == "\n" && $this -> connections [ $id ][ 'clientData' ][ $clientDataLen - 2 ] == "\r" ) { // remo ...
-
https://man.mtool.work/php/8.3/event.examples.html
- 例 7397
- « インストール手順 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 -
... blic function ev_accept ( $listener , $fd , $address , $ctx ) { static $id = 0 ; $id += 1 ; $this -> connections [ $id ][ 'clientData' ] = '' ; $this -> connections [ $id ][ 'cnx' ] = new EventBufferEvent ( $this -> base , $fd , EventBufferEvent :: OPT_CLO ... ); } public function ev_read ( $buffer , $id ) { while( $buffer -> input -> length > 0 ) { $this -> connections [ $id ][ 'clientData' ] .= $buffer -> input -> read ( $this -> maxRead ); $clientDataLen = strlen ( $this -> connections [ $id ][ 'clientData' ... ]); if( $this -> connections [ $id ][ 'clientData' ][ $clientDataLen - 1 ] == "\n" && $this -> connections [ $id ][ 'clientData' ][ $clientDataLen - 2 ] == "\r" ) { // remo ...
-
https://man.mtool.work/php/8.3/event.examples.html
PREV
1
NEXT