« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 6 of about 6 for sendError (0.003 sec.)
EventHttpRequest::sendError — Send an HTML error message to the client | PHP 8.... 13069
EventHttpRequest::sendError (PECL event >= 1.4.0-beta) EventHttpRequest::sendError — Send an HTML error message to the client 説明 public function EventHttpRequest::sendError ( int $error , string $reason = null ): void Send an HTML error m ... the error. If null , the standard meaning of the error code will be used. 戻り値 値を返しません。 例 例1 EventHttpRequest::sendError() example <?php function _http_400 ( $req ) { $req -> sendError ( 400 ); } $base = new EventBase (); $http = new EventHttp ...
https://man.mtool.work/php/8.3/eventhttprequest.senderror.html
The EventHttpRequest class | PHP 8.3 9084
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 ... ): int public function getUri (): string public function removeHeader ( string $key , string $type ): void public function sendError ( int $error , string $reason = null ): void public function sendReply ( int $code , string $reason , EventBuffer $buf = ? ... the request URI EventHttpRequest::removeHeader — Removes an HTTP header from the headers of the request EventHttpRequest::sendError — Send an HTML error message to the client EventHttpRequest::sendReply — Send an HTML reply to the client EventHttpRequest ...
https://man.mtool.work/php/8.3/class.eventhttprequest.html
EventHttpRequest::sendReply — Send an HTML reply to the client | PHP 8.3 8828
EventHttpRequest::sendReply (PECL event >= 1.4.0-beta) EventHttpRequest::sendReply — Send an HTML reply to the client 説明 public function EventHttpRequest::sendReply ( int $code , string $reason , EventBuffer $buf = ? ): void Send an HTML ... brief message to send with the response code. buf The body of the response. 戻り値 値を返しません。 参考 EventHttpRequest::sendError() - Send an HTML error message to the client EventHttpRequest::sendReplyChunk() - Send another data chunk as part of an on ...
https://man.mtool.work/php/8.3/eventhttprequest.sendreply.html
Event | PHP 8.3 8116
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 ... the request URI EventHttpRequest::removeHeader — Removes an HTTP header from the headers of the request EventHttpRequest::sendError — Send an HTML error message to the client EventHttpRequest::sendReply — Send an HTML reply to the client EventHttpRequest ...
https://man.mtool.work/php/8.3/book.event.html
例 | PHP 8.3 7878
例 例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 ... ; echo "\n >> Sending reply ..." ; $req -> sendReply ( 200 , "OK" ); echo "OK\n" ; } function _http_400 ( $req ) { $req -> sendError ( 400 ); } function _init_ssl () { $local_cert = __DIR__ . "/ssl-echo-server/cert.pem" ; $local_pk = __DIR__ . "/ssl-echo- ...
https://man.mtool.work/php/8.3/event.examples.html
関数・メソッド | PHP 8.3 7805
関数・メソッド マニュアル内の全関数およびメソッドの一覧 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 言語と同様にス ... the request URI EventHttpRequest::removeHeader - Removes an HTTP header from the headers of the request EventHttpRequest::sendError - Send an HTML error message to the client EventHttpRequest::sendReply - Send an HTML reply to the client EventHttpRequest ...
https://man.mtool.work/php/8.3/indexes.functions.html
PREV 1 NEXT