Results of 1 - 9 of about 9 for getInput (0.004 sec.)
- EventBufferEvent::getInput — Returns underlying input buffer associated with cu... 13948
- EventBufferEvent::getInput (PECL event >= 1.2.6-beta) EventBufferEvent::getInput — Returns underlying input buffer associated with current buffer event 説明 public function EventBufferEvent::getInput (): EventBuffer Returns underlying input
... uffer event. 例 例1 Buffer event's read callback <?php function readcb ( $bev , $base ) { $input = $bev -> input ; //$bev->getInput(); while (( $n = $input -> remove ( $buf , 1024 )) > 0 ) { echo $buf ; } } ?> 参考 EventBufferEvent::getOutput() - Returns ...
-
https://man.mtool.work/php/8.3/eventbufferevent.getinput.html
- The EventBufferEvent class | PHP 8.3 8915
- The EventBufferEvent class (PECL event >= 1.2.6-beta) はじめに Represents Libevent's buffer event. Usually an application wants to perform some amount of data buffering in addition to just responding to events. When we want to write data, f
... lic function free (): void public function getDnsErrorString (): string public function getEnabled (): int public function getInput (): EventBuffer public function getOutput (): EventBuffer public function read ( int $size ): string public function readB ... p attempt EventBufferEvent::getEnabled — Returns bitmask of events currently enabled on the buffer event EventBufferEvent::getInput — Returns underlying input buffer associated with current buffer event EventBufferEvent::getOutput — Returns underlying ou ...
-
https://man.mtool.work/php/8.3/class.eventbufferevent.html
- EventBufferEvent::getOutput — Returns underlying output buffer associated with ... 8789
- EventBufferEvent::getOutput (PECL event >= 1.2.6-beta) EventBufferEvent::getOutput — Returns underlying output buffer associated with current buffer event 説明 public function EventBufferEvent::getOutput (): EventBuffer Returns underlying o
... "Connection: Close\r\n\r\n" )) { exit( "Failed adding request to output buffer\n" ); } /* ... */ ?> 参考 EventBufferEvent::getInput() - Returns underlying input buffer associated with current buffer event 他のマニュアルの関連ページ Linux JM fread(3) Linu ...
-
https://man.mtool.work/php/8.3/eventbufferevent.getoutput.html
- 例 | PHP 8.3 8663
- 例 例1 Simple HTTP client <?php // Read callback function readcb ( $bev , $base ) { //$input = $bev->input; //$bev->getInput(); //$pos = $input->search("TTP"); $pos = $bev -> input -> search ( "TTP" ); while (( $n = $bev -> input -> remove
... ronously read the response and print it to stdout. */ // Read callback function readcb ( $bev , $base ) { $input = $bev -> getInput (); while (( $n = $input -> remove ( $buf , 1024 )) > 0 ) { echo $buf ; } } // Event callback function eventcb ( $bev , $e ... uffer to the output buffer // Variant #1 $bev -> output -> addBuffer ( $bev -> input ); /* Variant #2 */ /* $input = $bev->getInput(); $output = $bev->getOutput(); $output->addBuffer($input); */ } public function echoEventCallback ( $bev , $events , $ctx ... llback is invoked when there is data to read on $bev. function ssl_read_cb ( $bev , $ctx ) { $in = $bev -> input ; //$bev->getInput(); printf ( "Received %zu bytes\n" , $in -> length ); printf ( "----- data ----\n" ); printf ( "%ld:\t%s\n" , (int) $in -> ...
-
https://man.mtool.work/php/8.3/event.examples.html
- EventBufferEvent::connectHost — Connects to a hostname with optionally asynchro... 8304
- EventBufferEvent::connectHost (PECL event >= 1.2.6-beta) EventBufferEvent::connectHost — Connects to a hostname with optionally asynchronous DNS resolving 説明 public function EventBufferEvent::connectHost ( EventDnsBase $dns_base , string
... rEvent::connectHost() example <?php /* Read callback */ function readcb ( $bev , $base ) { //$input = $bev->input; //$bev->getInput(); //$pos = $input->search("TTP"); $pos = $bev -> input -> search ( "TTP" ); while (( $n = $bev -> input -> remove ( $buf ...
-
https://man.mtool.work/php/8.3/eventbufferevent.connecthost.html
- EventListener::__construct — Creates new connection listener associated with an... 8304
- EventListener::__construct (PECL event >= 1.2.6-beta) EventListener::__construct — Creates new connection listener associated with an event base 説明 public function EventListener::__construct ( EventBase $base , callable $cb , mixed $data
... uffer to the output buffer // Variant #1 $bev -> output -> addBuffer ( $bev -> input ); /* Variant #2 */ /* $input = $bev->getInput(); $output = $bev->getOutput(); $output->addBuffer($input); */ } public function echoEventCallback ( $bev , $events , $ctx ...
-
https://man.mtool.work/php/8.3/eventlistener.construct.html
- EventBufferEvent::connect — Connect buffer event's file descriptor to given add... 8196
- EventBufferEvent::connect (PECL event >= 1.2.6-beta) EventBufferEvent::connect — Connect buffer event's file descriptor to given address or UNIX socket 説明 public function EventBufferEvent::connect ( string $addr ): bool Connect buffer eve
... ously read the response and print it to stdout. */ /* Read callback */ function readcb ( $bev , $base ) { $input = $bev -> getInput (); while (( $n = $input -> remove ( $buf , 1024 )) > 0 ) { echo $buf ; } } /* Event callback */ function eventcb ( $bev , ...
-
https://man.mtool.work/php/8.3/eventbufferevent.connect.html
- Event | PHP 8.3 8070
- Event はじめに This is an extension to efficiently schedule I/O, time and signal based events using the best I/O notification mechanism available for specific platform. This is a port of libevent to the PHP infrastructure. 注意 : Note, Wind
... p attempt EventBufferEvent::getEnabled — Returns bitmask of events currently enabled on the buffer event EventBufferEvent::getInput — Returns underlying input buffer associated with current buffer event EventBufferEvent::getOutput — Returns underlying ou ... :getConnection — Returns EventHttpConnection object EventHttpRequest::getHost — Returns the request host EventHttpRequest::getInputBuffer — Returns the input buffer EventHttpRequest::getInputHeaders — Returns associative array of the input headers EventH ...
-
https://man.mtool.work/php/8.3/book.event.html
- 関数・メソッド | PHP 8.3 7585
- 関数・メソッド マニュアル内の全関数およびメソッドの一覧 a b c d e f g h i j k l m n o p q r s t u v w x y z _ a abs - 絶対値 acos - 逆余弦(アークコサイン) acosh - 逆双曲線余弦(アークハイパボリックコサイン) addcslashes - C 言語と同様にス
... p attempt EventBufferEvent::getEnabled - Returns bitmask of events currently enabled on the buffer event EventBufferEvent::getInput - Returns underlying input buffer associated with current buffer event EventBufferEvent::getOutput - Returns underlying ou ... :getConnection - Returns EventHttpConnection object EventHttpRequest::getHost - Returns the request host EventHttpRequest::getInputBuffer - Returns the input buffer EventHttpRequest::getInputHeaders - Returns associative array of the input headers EventH ...
-
https://man.mtool.work/php/8.3/indexes.functions.html
PREV
1
NEXT