« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 28 for sendReply (0.002 sec.)
Send an HTML reply to the client 12388
« EventHttpRequest::sendError EventHttpRequest::sendReplyChunk » PHP Manual EventHttpRequest Send an HTML reply to the client 検索 EventHttpRequest::sendReply (PECL event >= 1.4.0-beta) EventHttpRequest::sendReply — Send an HTML reply to th ... e client 説明 public function EventHttpRequest::sendReply ( int $code , string $reason , EventBuffer $buf = ? ): void Send an HTML reply to the client. The body of the reply consis ... e. 戻り値 値を返しません。 参考 EventHttpRequest::sendError() - Send an HTML error message to the client EventHttpRequest::sendReplyChunk() - Send another data chunk as part of an ongoing chunked reply 関連キーワード: EventHttpRequest Send reply client co ... de sendReply buf response sendError sendReplyChunk reason body data send Search event beta function int string ...
https://man.mtool.work/php/8.3/eventhttprequest.sendreply.html
Send an HTML reply to the client 12273
« EventHttpRequest::sendError EventHttpRequest::sendReplyChunk » PHP Manual EventHttpRequest Send an HTML reply to the client 検索 EventHttpRequest::sendReply (PECL event >= 1.4.0-beta) EventHttpRequest::sendReply — Send an HTML reply to th ... e client 説明 public function EventHttpRequest::sendReply ( int $code , string $reason , EventBuffer $buf = ? ): void Send an HTML reply to the client. The body of the reply consis ... e. 戻り値 値を返しません。 参考 EventHttpRequest::sendError() - Send an HTML error message to the client EventHttpRequest::sendReplyChunk() - Send another data chunk as part of an ongoing chunked reply 関連キーワード: EventHttpRequest Send reply client co ... de sendReply response sendError sendReplyChunk reason body send event beta EventBuffer consists optional parameter brief message 参考 e ...
https://man.mtool.work/php/8.3/eventhttprequest.sendreply.html
Send an HTML error message to the client 10339
« EventHttpRequest::removeHeader EventHttpRequest::sendReply » PHP Manual EventHttpRequest Send an HTML error message to the client 検索 EventHttpRequest::sendError (PECL event >= 1.4.0-beta) EventHttpRequest::sendError — Send an HTML error ... > setCallback ( "/err400" , "_http_400" ); $http -> bind ( "0.0.0.0" , 8010 ); $base -> loop (); ?> 参考 EventHttpRequest::sendReply() - Send an HTML reply to the client 関連キーワード: EventHttpRequest Send client sendError error http error message base ...
https://man.mtool.work/php/8.3/eventhttprequest.senderror.html
Send an HTML error message to the client 10339
« EventHttpRequest::removeHeader EventHttpRequest::sendReply » PHP Manual EventHttpRequest Send an HTML error message to the client 検索 EventHttpRequest::sendError (PECL event >= 1.4.0-beta) EventHttpRequest::sendError — Send an HTML error ... > setCallback ( "/err400" , "_http_400" ); $http -> bind ( "0.0.0.0" , 8010 ); $base -> loop (); ?> 参考 EventHttpRequest::sendReply() - Send an HTML reply to the client 関連キーワード: EventHttpRequest Send client sendError http error message base sendRe ...
https://man.mtool.work/php/8.3/eventhttprequest.senderror.html
Sets a callback for specified URI 9307
« EventHttp::setAllowedMethods EventHttp::setDefaultCallback » PHP Manual EventHttp Sets a callback for specified URI 検索 EventHttp::setCallback (PECL event >= 1.4.0-beta) EventHttp::setCallback — Sets a callback for specified URI 説明 pub ... putHeaders ()); echo "Output headers:" ; var_dump ( $req -> getOutputHeaders ()); echo "\n >> Sending reply ..." ; $req -> sendReply ( 200 , "OK" ); echo "OK\n" ; echo "\n >> Reading input buffer ...\n" ; $buf = $req -> getInputBuffer (); while ( $s = $bu ... $req ) { echo __METHOD__ , PHP_EOL ; echo "URI: " , $req -> getUri (), PHP_EOL ; echo "\n >> Sending reply ..." ; $req -> sendReply ( 200 , "OK" ); echo "OK\n" ; } function _http_default ( $req , $data ) { echo __METHOD__ , PHP_EOL ; echo "URI: " , $req ... -> getUri (), PHP_EOL ; echo "\n >> Sending reply ..." ; $req -> sendReply ( 200 , "OK" ); echo "OK\n" ; } $port = 8010 ; if ( $argc > 1 ) { $port = (int) $argv [ 1 ]; } if ( $port <= 0 || $port > ...
https://man.mtool.work/php/8.3/eventhttp.setcallback.html
Send another data chunk as part of an ongoing chunked reply 9192
« EventHttpRequest::sendReply EventHttpRequest::sendReplyEnd » PHP Manual EventHttpRequest Send another data chunk as part of an ongoing chunked reply 検索 EventHttpRequest::sendReplyChunk (PECL event >= 1.4.0-beta) EventHttpRequest::sendReply ... plyChunk — Send another data chunk as part of an ongoing chunked reply 説明 public function EventHttpRequest::sendReplyChunk ( EventBuffer $buf ): void Send another data chunk as part of an ongoing chunked reply. After calling this method buf ... will be empty. パラメータ buf The data chunk to send as part of the reply. 戻り値 値を返しません。 参考 EventHttpRequest::sendReplyStart() - Initiate a chunked reply EventHttpRequest::sendReplyEnd() - Complete a chunked reply, freeing the request as appr ... opriate 関連キーワード: EventHttpRequest reply chunked data chunk part Send ongoing sendReplyChunk buf sendReplyEnd sendReply Search event beta function EventBuffer void After calling ...
https://man.mtool.work/php/8.3/eventhttprequest.sendreplychunk.html
Send another data chunk as part of an ongoing chunked reply 9192
« EventHttpRequest::sendReply EventHttpRequest::sendReplyEnd » PHP Manual EventHttpRequest Send another data chunk as part of an ongoing chunked reply 検索 EventHttpRequest::sendReplyChunk (PECL event >= 1.4.0-beta) EventHttpRequest::sendReply ... plyChunk — Send another data chunk as part of an ongoing chunked reply 説明 public function EventHttpRequest::sendReplyChunk ( EventBuffer $buf ): void Send another data chunk as part of an ongoing chunked reply. After calling this method buf ... will be empty. パラメータ buf The data chunk to send as part of the reply. 戻り値 値を返しません。 参考 EventHttpRequest::sendReplyStart() - Initiate a chunked reply EventHttpRequest::sendReplyEnd() - Complete a chunked reply, freeing the request as appr ... opriate 関連キーワード: EventHttpRequest reply chunked chunk part Send ongoing sendReplyChunk sendReplyEnd sendReply event beta EventBuffer After calling method empty send 参考 sendReplyStart Initiate Complete f ...
https://man.mtool.work/php/8.3/eventhttprequest.sendreplychunk.html
Constructs EventHttp object (the HTTP server) 9078
« EventHttp::bind EventHttp::removeServerAlias » PHP Manual EventHttp Constructs EventHttp object (the HTTP server) 検索 EventHttp::__construct (PECL event >= 1.2.6-beta) EventHttp::__construct — Constructs EventHttp object (the HTTP server ... putHeaders ()); echo "Output headers:" ; var_dump ( $req -> getOutputHeaders ()); echo "\n >> Sending reply ..." ; $req -> sendReply ( 200 , "OK" ); echo "OK\n" ; echo "\n >> Reading input buffer ...\n" ; $buf = $req -> getInputBuffer (); while ( $s = $bu ... $req ) { echo __METHOD__ , PHP_EOL ; echo "URI: " , $req -> getUri (), PHP_EOL ; echo "\n >> Sending reply ..." ; $req -> sendReply ( 200 , "OK" ); echo "OK\n" ; } function _http_default ( $req , $data ) { echo __METHOD__ , PHP_EOL ; echo "URI: " , $req ... -> getUri (), PHP_EOL ; echo "\n >> Sending reply ..." ; $req -> sendReply ( 200 , "OK" ); echo "OK\n" ; } $port = 8010 ; if ( $argc > 1 ) { $port = (int) $argv [ 1 ]; } if ( $port <= 0 || $port > ...
https://man.mtool.work/php/8.3/eventhttp.construct.html
Makes an HTTP server accept connections on the specified socket stream or resour... 8848
« EventHttp EventHttp::addServerAlias » PHP Manual EventHttp Makes an HTTP server accept connections on the specified socket stream or resource 検索 EventHttp::accept (PECL event >= 1.2.6-beta) EventHttp::accept — Makes an HTTP server accep ... p -> setCallback ( "/some-page" , function () { echo "(some-page)\n" ; echo "URI: " , $req -> getUri (), PHP_EOL ; $req -> sendReply ( 200 , "OK" ); echo "OK\n" ; }); $http -> setDefaultCallback (function ( $req ) { echo "URI: " , $req -> getUri (), PHP_E ... OL ; $req -> sendReply ( 200 , "OK" ); echo "OK\n" ; }); $signal = Event :: signal ( $base , SIGINT , function () use ( $base ) { echo "Caught SI ... specified stream resource bind Makes http port ready sockets signal listen already descriptor addresses exit failed getUri sendReply about ...
https://man.mtool.work/php/8.3/eventhttp.accept.html
Adds a server alias to the HTTP server object 8635
« EventHttp::accept EventHttp::bind » PHP Manual EventHttp Adds a server alias to the HTTP server object 検索 EventHttp::addServerAlias (PECL event >= 1.4.0-beta) EventHttp::addServerAlias — Adds a server alias to the HTTP server object 説明 ... ver alias\n" ); } $http -> setCallback ( "/about" , function( $req ) { echo "URI: " , $req -> getUri (), PHP_EOL ; $req -> sendReply ( 200 , "OK" ); }); $base -> dispatch (); ?> 参考 EventHttp::removeServerAlias() - Removes server alias 関連キーワード: se ... ds http bind base socket exit accept event beta 成功 example EventBase create failed local Failed setCallback about getUri sendReply dispatch ...
https://man.mtool.work/php/8.3/eventhttp.addserveralias.html
PREV 1 2 3 NEXT