« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 10 for getInputBuffer (0.003 sec.)
EventHttpRequest::getInputBuffer — Returns the input buffer | PHP 8.3 13944
EventHttpRequest::getInputBuffer (PECL event >= 1.4.0-beta) EventHttpRequest::getInputBuffer — Returns the input buffer 説明 public function EventHttpRequest::getInputBuffer (): EventBuffer Returns the input buffer. パラメータ この関数にはパ ...
https://man.mtool.work/php/8.3/eventhttprequest.getinputbuffer.html
The EventHttpRequest class | PHP 8.3 9510
The EventHttpRequest class (PECL event >= 1.4.0-beta) はじめに Represents an HTTP request. クラス概要 class EventHttpRequest { /* 定数 */ const int CMD_GET = 1 ; const int CMD_POST = 2 ; const int CMD_HEAD = 4 ; const int CMD_PUT = 8 ; cons ... ommand (): void public function closeConnection (): EventHttpConnection public function getHost (): string public function getInputBuffer (): EventBuffer public function getInputHeaders (): array public function getOutputBuffer (): EventBuffer public function ... :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 EventHttpReq ...
https://man.mtool.work/php/8.3/class.eventhttprequest.html
EventHttpRequest::getOutputBuffer — Returns the output buffer of the request | ... 9224
EventHttpRequest::getOutputBuffer (PECL event >= 1.4.0-beta) EventHttpRequest::getOutputBuffer — Returns the output buffer of the request 説明 public function EventHttpRequest::getOutputBuffer (): EventBuffer Returns the output buffer of th ... t. パラメータ この関数にはパラメータはありません。 戻り値 Returns the output buffer of the request. 参考 EventHttpRequest::getInputBuffer() - Returns the input buffer 他のマニュアルの関連ページ Linux JM fread(3) Linux JM fwrite(3) Django 5.2.16 Django 6.0.7 Li ...
https://man.mtool.work/php/8.3/eventhttprequest.getoutputbuffer.html
例 | PHP 8.3 8491
例 例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 ... ding reply ..." ; $req -> sendReply ( 200 , "OK" ); echo "OK\n" ; echo "\n >> Reading input buffer ...\n" ; $buf = $req -> getInputBuffer (); while ( $s = $buf -> readLine ( EventBuffer :: EOL_ANY )) { echo $s , PHP_EOL ; } echo "No more data in the buffer\n" ... q -> getOutputHeaders ()); echo "\n >> Sending reply ..." ; $req -> sendReply ( 200 , "OK" ); echo "OK\n" ; $buf = $req -> getInputBuffer (); echo "\n >> Reading input buffer (" , $buf -> length , ") ...\n" ; while ( $s = $buf -> read ( 1024 )) { echo $s ; } e ... ode != 200 ) { echo "Unexpected response: $response_code \n" ; } else { echo "Success: $response_code \n" ; $buf = $req -> getInputBuffer (); echo "Body:\n" ; while ( $s = $buf -> readLine ( EventBuffer :: EOL_ANY )) { echo $s , PHP_EOL ; } } } $base -> exit ( ...
https://man.mtool.work/php/8.3/event.examples.html
EventHttpConnection::makeRequest — Makes an HTTP request over the specified con... 8491
EventHttpConnection::makeRequest (PECL event >= 1.4.0-beta) EventHttpConnection::makeRequest — Makes an HTTP request over the specified connection 説明 public function EventHttpConnection::makeRequest ( EventHttpRequest $req , int $type , s ... ode != 200 ) { echo "Unexpected response: $response_code \n" ; } else { echo "Success: $response_code \n" ; $buf = $req -> getInputBuffer (); echo "Body:\n" ; while ( $s = $buf -> readLine ( EventBuffer :: EOL_ANY )) { echo $s , PHP_EOL ; } } } $base -> exit ( ...
https://man.mtool.work/php/8.3/eventhttpconnection.makerequest.html
EventHttpRequest::__construct — Constructs EventHttpRequest object | PHP 8.3 8491
EventHttpRequest::__construct (PECL event >= 1.4.0-beta) EventHttpRequest::__construct — Constructs EventHttpRequest object 説明 public function EventHttpRequest::__construct ( callable $callback , mixed $data = null ) Constructs EventHttpR ... ode != 200 ) { echo "Unexpected response: $response_code \n" ; } else { echo "Success: $response_code \n" ; $buf = $req -> getInputBuffer (); echo "Body:\n" ; while ( $s = $buf -> readLine ( EventBuffer :: EOL_ANY )) { echo $s , PHP_EOL ; } } } $base -> exit ( ...
https://man.mtool.work/php/8.3/eventhttprequest.construct.html
EventHttp::__construct — Constructs EventHttp object (the HTTP server) | PHP 8.... 8062
EventHttp::__construct (PECL event >= 1.2.6-beta) EventHttp::__construct — Constructs EventHttp object (the HTTP server) 説明 public function EventHttp::__construct ( EventBase $base , EventSslContext $ctx = null ) Constructs the HTTP serve ... ding reply ..." ; $req -> sendReply ( 200 , "OK" ); echo "OK\n" ; echo "\n >> Reading input buffer ...\n" ; $buf = $req -> getInputBuffer (); while ( $s = $buf -> readLine ( EventBuffer :: EOL_ANY )) { echo $s , PHP_EOL ; } echo "No more data in the buffer\n" ...
https://man.mtool.work/php/8.3/eventhttp.construct.html
EventHttp::setCallback — Sets a callback for specified URI | PHP 8.3 8062
EventHttp::setCallback (PECL event >= 1.4.0-beta) EventHttp::setCallback — Sets a callback for specified URI 説明 public function EventHttp::setCallback ( string $path , string $cb , string $arg = ? ): void Sets a callback for specified URI ... ding reply ..." ; $req -> sendReply ( 200 , "OK" ); echo "OK\n" ; echo "\n >> Reading input buffer ...\n" ; $buf = $req -> getInputBuffer (); while ( $s = $buf -> readLine ( EventBuffer :: EOL_ANY )) { echo $s , PHP_EOL ; } echo "No more data in the buffer\n" ...
https://man.mtool.work/php/8.3/eventhttp.setcallback.html
Event | PHP 8.3 7776
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 ... :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 EventHttpReq ...
https://man.mtool.work/php/8.3/book.event.html
関数・メソッド | PHP 8.3 7204
関数・メソッド マニュアル内の全関数およびメソッドの一覧 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 言語と同様にス ... :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 EventHttpReq ...
https://man.mtool.work/php/8.3/indexes.functions.html
PREV 1 NEXT