« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 18 for EventHttp (0.002 sec.)
The EventHttp class | PHP 8.3 13143
The EventHttp class (PECL event >= 1.4.0-beta) はじめに Represents HTTP server. クラス概要 final class EventHttp { /* メソッド */ public function accept ( mixed $socket ): bool public function addServerAlias ( string $alias ): bool public f ... alue ): void public function setMaxHeadersSize ( int $value ): void public function setTimeout ( int $value ): void } 目次 EventHttp::accept — Makes an HTTP server accept connections on the specified socket stream or resource EventHttp::addServerAlias — A ... dds a server alias to the HTTP server object EventHttp::bind — Binds an HTTP server on the specified address and port EventHttp::__construct — Constructs EventHttp object (the H ... TTP server) EventHttp::removeServerAlias — Removes server alias EventHttp::setAllowedMethods — Sets which HTTP methods are supported in requests ...
https://man.mtool.work/php/8.3/class.eventhttp.html
Event | PHP 8.3 9883
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 ... :setOption — Set the value of a configuration option EventDnsBase::setSearchNdots — Set the 'ndots' parameter for searches EventHttp — The EventHttp class EventHttp::accept — Makes an HTTP server accept connections on the specified socket stream or resour ... ce EventHttp::addServerAlias — Adds a server alias to the HTTP server object EventHttp::bind — Binds an HTTP server on the specified ad ... dress and port EventHttp::__construct — Constructs EventHttp object (the HTTP server) EventHttp::removeServerAlias — Removes server alias EventHttp ...
https://man.mtool.work/php/8.3/book.event.html
EventHttp::addServerAlias — Adds a server alias to the HTTP server object | PHP... 9831
EventHttp::addServerAlias (PECL event >= 1.4.0-beta) EventHttp::addServerAlias — Adds a server alias to the HTTP server object 説明 public function EventHttp::addServerAlias ( string $alias ): bool Adds a server alias to the HTTP server obj ... ect. パラメータ alias The alias to add. 戻り値 成功した場合に true を、失敗した場合に false を返します。 例 例1 EventHttp::addServerAlias() example <?php $base = new EventBase (); $http = new EventHttp ( $base ); $socket = socket_create ( AF_IN ... ( $req ) { echo "URI: " , $req -> getUri (), PHP_EOL ; $req -> sendReply ( 200 , "OK" ); }); $base -> dispatch (); ?> 参考 EventHttp::removeServerAlias() - Removes server alias 他のマニュアルの関連ページ Linux JM bind(2) Python http Linux JM builtins(1) P ...
https://man.mtool.work/php/8.3/eventhttp.addserveralias.html
EventHttp::removeServerAlias — Removes server alias | PHP 8.3 9728
EventHttp::removeServerAlias (PECL event >= 1.4.0-beta) EventHttp::removeServerAlias — Removes server alias 説明 public function EventHttp::removeServerAlias ( string $alias ): bool Removes server alias added with EventHttp::addServerAlias( ... ) パラメータ alias The alias to remove. 戻り値 成功した場合に true を、失敗した場合に false を返します。 参考 EventHttp::addServerAlias() - Adds a server alias to the HTTP server object 他のマニュアルの関連ページ Linux JM which(1) Docker ユー ...
https://man.mtool.work/php/8.3/eventhttp.removeserveralias.html
EventHttp::setDefaultCallback — Sets default callback to handle requests that a... 9677
EventHttp::setDefaultCallback (PECL event >= 1.4.0-beta) EventHttp::setDefaultCallback — Sets default callback to handle requests that are not caught by specific callbacks 説明 public function EventHttp::setDefaultCallback ( string $cb , st ... t by specific callbacks パラメータ cb The callback callable . It should match the following prototype: function callback ( EventHttpRequest $req = NULL , mixed $arg = NULL ): void req EventHttpRequest object. arg Custom data. arg User custom data passed t ... o the callback. 戻り値 成功した場合に true を、失敗した場合に false を返します。 例 例1 EventHttp::setDefaultCallback() example <?php $base = new EventBase (); $http = new EventHttp ( $base ); $socket = socket_create ( A ... ( $req ) { echo "URI: " , $req -> getUri (), PHP_EOL ; $req -> sendReply ( 200 , "OK" ); }); $base -> dispatch (); ?> 参考 EventHttp::setCallback() - Sets a callback for specified URI 他のマニュアルの関連ページ Linux JM bind(2) Python http Django 2.1.10 D ...
https://man.mtool.work/php/8.3/eventhttp.setdefaultcallback.html
EventHttp::accept — Makes an HTTP server accept connections on the specified so... 9574
EventHttp::accept (PECL event >= 1.2.6-beta) EventHttp::accept — Makes an HTTP server accept connections on the specified socket stream or resource 説明 public function EventHttp::accept ( mixed $socket ): bool Makes an HTTP server accept c ... nections on different sockets. 注意 : To bind a socket, listen , and accept connections on the socket in a single call use EventHttp::bind() . EventHttp::accept() is needed only if one already has a socket ready to accept connections. パラメータ socket So ... representing a socket ready to accept connections. 戻り値 成功した場合に true を、失敗した場合に false を返します。 例 例1 EventHttp::accept() example <?php $base = new EventBase (); $http = new EventHttp ( $base ); $addresses = [ 8091 => "127.0.0.1" , 80 ... OK Content-Type: text/html; charset=ISO-8859-1 Connection: close Server: 127.0.0.1 8091 127.0.0.2 8092 URI: /about OK 参考 EventHttp::bind() - Binds an HTTP server on the specified address and port 他のマニュアルの関連ページ Linux JM accept(2) Linux JM bi ...
https://man.mtool.work/php/8.3/eventhttp.accept.html
EventHttp::setMaxHeadersSize — Sets maximum HTTP header size | PHP 8.3 9299
EventHttp::setMaxHeadersSize (PECL event >= 1.4.0-beta) EventHttp::setMaxHeadersSize — Sets maximum HTTP header size 説明 public function EventHttp::setMaxHeadersSize ( int $value ): void Sets maximum HTTP header size. パラメータ value The ... header size in bytes. 戻り値 値を返しません。 参考 EventHttp::setMaxHeadersSize() 他のマニュアルの関連ページ DuckDB Dot Commands Linux JM setrlimit(2) Linux JM getrlimit(2) Linux JM p ...
https://man.mtool.work/php/8.3/eventhttp.setmaxheaderssize.html
EventHttp::setMaxBodySize — Sets maximum request body size | PHP 8.3 9248
EventHttp::setMaxBodySize (PECL event >= 1.4.0-beta) EventHttp::setMaxBodySize — Sets maximum request body size 説明 public function EventHttp::setMaxBodySize ( int $value ): void Sets maximum request body size. パラメータ value The body si ... ze in bytes. 戻り値 値を返しません。 参考 EventHttp::setMaxHeadersSize() - Sets maximum HTTP header size 他のマニュアルの関連ページ DuckDB Securing Quack with a Reverse Proxy ...
https://man.mtool.work/php/8.3/eventhttp.setmaxbodysize.html
EventHttp::bind — Binds an HTTP server on the specified address and port | PHP ... 8973
EventHttp::bind (PECL event >= 1.2.6-beta) EventHttp::bind — Binds an HTTP server on the specified address and port 説明 public function EventHttp::bind ( string $address , int $port ): void Binds an HTTP server on the specified address and ... o listen(2) on. port The port number to listen on. 戻り値 成功した場合に true を、失敗した場合に false を返します。 例 例1 EventHttp::bind() example <?php $base = new EventBase (); $http = new EventHttp ( $base ); $socket = socket_create ( AF_INET , SOCK_ ... h1>Not Found</h1><p>The requested URL /unknown was not found on this server.</p></body></html> Server: URI: /about OK 参考 EventHttp::accept() - Makes an HTTP server accept connections on the specified socket stream or resource 他のマニュアルの関連ページ ...
https://man.mtool.work/php/8.3/eventhttp.bind.html
EventHttp::setTimeout — Sets the timeout for an HTTP request | PHP 8.3 8596
EventHttp::setTimeout (PECL event >= 1.4.0-beta) EventHttp::setTimeout — Sets the timeout for an HTTP request 説明 public function EventHttp::setTimeout ( int $value ): void Sets the timeout for an HTTP request. パラメータ value The timeout ...
https://man.mtool.work/php/8.3/eventhttp.settimeout.html
PREV 1 2 NEXT