Results of 1 - 7 of about 7 for setAllowedMethods (0.003 sec.)
- EventHttp::setAllowedMethods — Sets which HTTP methods are supported in request... 13013
- EventHttp::setAllowedMethods (PECL event >= 1.4.0-beta) EventHttp::setAllowedMethods — Sets which HTTP methods are supported in requests accepted by this server, and passed to user callbacks 説明 public function EventHttp::setAllowedMethods
...
-
https://man.mtool.work/php/8.3/eventhttp.setallowedmethods.html
- The EventHttp class | PHP 8.3 10396
- 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
... EventBase $base , EventSslContext $ctx = null ) public function removeServerAlias ( string $alias ): bool public function setAllowedMethods ( int $methods ): void public function setCallback ( string $path , string $cb , string $arg = ? ): void public function s ... __construct — Constructs EventHttp object (the HTTP server) EventHttp::removeServerAlias — Removes server alias EventHttp::setAllowedMethods — Sets which HTTP methods are supported in requests accepted by this server, and passed to user callbacks EventHttp::setCa ...
-
https://man.mtool.work/php/8.3/class.eventhttp.html
- EventHttp::__construct — Constructs EventHttp object (the HTTP server) | PHP 8.... 8288
- 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
... rt <= 0 || $port > 65535 ) { exit( "Invalid port" ); } $base = new EventBase (); $http = new EventHttp ( $base ); $http -> setAllowedMethods ( EventHttpRequest :: CMD_GET | EventHttpRequest :: CMD_POST ); $http -> setCallback ( "/dump" , "_http_dump" , array( 4 , ...
-
https://man.mtool.work/php/8.3/eventhttp.construct.html
- EventHttp::setCallback — Sets a callback for specified URI | PHP 8.3 8288
- 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
... rt <= 0 || $port > 65535 ) { exit( "Invalid port" ); } $base = new EventBase (); $http = new EventHttp ( $base ); $http -> setAllowedMethods ( EventHttpRequest :: CMD_GET | EventHttpRequest :: CMD_POST ); $http -> setCallback ( "/dump" , "_http_dump" , array( 4 , ...
-
https://man.mtool.work/php/8.3/eventhttp.setcallback.html
- Event | PHP 8.3 8033
- 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
... __construct — Constructs EventHttp object (the HTTP server) EventHttp::removeServerAlias — Removes server alias EventHttp::setAllowedMethods — Sets which HTTP methods are supported in requests accepted by this server, and passed to user callbacks EventHttp::setCa ...
-
https://man.mtool.work/php/8.3/book.event.html
- 例 | PHP 8.3 8033
- 例 例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
... rt <= 0 || $port > 65535 ) { exit( "Invalid port" ); } $base = new EventBase (); $http = new EventHttp ( $base ); $http -> setAllowedMethods ( EventHttpRequest :: CMD_GET | EventHttpRequest :: CMD_POST ); $http -> setCallback ( "/dump" , "_http_dump" , array( 4 , ... rt" ); } $ip = '0.0.0.0' ; $base = new EventBase (); $ctx = _init_ssl (); $http = new EventHttp ( $base , $ctx ); $http -> setAllowedMethods ( EventHttpRequest :: CMD_GET | EventHttpRequest :: CMD_POST ); $http -> setCallback ( "/dump" , "_http_dump" , array( 4 , ...
-
https://man.mtool.work/php/8.3/event.examples.html
- 関数・メソッド | PHP 8.3 7506
- 関数・メソッド マニュアル内の全関数およびメソッドの一覧 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 言語と同様にス
... nd - Binds an HTTP server on the specified address and port EventHttp::removeServerAlias - Removes server alias EventHttp::setAllowedMethods - Sets which HTTP methods are supported in requests accepted by this server, and passed to user callbacks EventHttp::setCa ...
-
https://man.mtool.work/php/8.3/indexes.functions.html
PREV
1
NEXT