Results of 1 - 6 of about 6 for makeRequest (0.003 sec.)
- EventHttpConnection::makeRequest — Makes an HTTP request over the specified con... 12832
- 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
... associated with the request. 戻り値 成功した場合に true を、失敗した場合に false を返します。 例 例1 EventHttpConnection::makeRequest() example <?php function _request_handler ( $req , $base ) { echo __FUNCTION__ , PHP_EOL ; if ( is_null ( $req )) { echo " ... HttpRequest :: OUTPUT_HEADER ); $req -> addHeader ( "Content-Length" , "0" , EventHttpRequest :: OUTPUT_HEADER ); $conn -> makeRequest ( $req , EventHttpRequest :: CMD_GET , "/index.cphp" ); $base -> loop (); ?> 上の例の出力は、 たとえば以下のようになります ...
-
https://man.mtool.work/php/8.3/eventhttpconnection.makerequest.html
- The EventHttpConnection class | PHP 8.3 9980
- The EventHttpConnection class (PECL event >= 1.4.0-beta) はじめに Represents an HTTP connection. クラス概要 class EventHttpConnection { /* メソッド */ public function __construct ( EventBase $base , EventDnsBase $dns_base , string $address
... ll ) public function getBase (): EventBase public function getPeer ( string &$address , int &$port ): void public function makeRequest ( EventHttpRequest $req , int $type , string $uri ): bool public function setCloseCallback ( callable $callback , mixed $d ... ection EventHttpConnection::getPeer — Gets the remote address and port associated with the connection EventHttpConnection::makeRequest — Makes an HTTP request over the specified connection EventHttpConnection::setCloseCallback — Set callback for connection ...
-
https://man.mtool.work/php/8.3/class.eventhttpconnection.html
- EventHttpRequest::__construct — Constructs EventHttpRequest object | PHP 8.3 8426
- EventHttpRequest::__construct (PECL event >= 1.4.0-beta) EventHttpRequest::__construct — Constructs EventHttpRequest object 説明 public function EventHttpRequest::__construct ( callable $callback , mixed $data = null ) Constructs EventHttpR
... HttpRequest :: OUTPUT_HEADER ); $req -> addHeader ( "Content-Length" , "0" , EventHttpRequest :: OUTPUT_HEADER ); $conn -> makeRequest ( $req , EventHttpRequest :: CMD_GET , "/index.cphp" ); $base -> loop (); ?> 参考 EventHttpRequest::cancel() - Cancels a p ...
-
https://man.mtool.work/php/8.3/eventhttprequest.construct.html
- 例 | PHP 8.3 8207
- 例 例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
... gth, EventHttpRequest::OUTPUT_HEADER); //$req->addHeader("Connection", "close", EventHttpRequest::OUTPUT_HEADER); $conn -> makeRequest ( $req , EventHttpRequest :: CMD_POST , "/dump" ); $base -> dispatch (); echo "END\n" ; ?> 例11 EventHttpConnection::makeR ... HttpRequest :: OUTPUT_HEADER ); $req -> addHeader ( "Content-Length" , "0" , EventHttpRequest :: OUTPUT_HEADER ); $conn -> makeRequest ( $req , EventHttpRequest :: CMD_GET , "/index.cphp" ); $base -> loop (); ?> 上の例の出力は、 たとえば以下のようになります ...
-
https://man.mtool.work/php/8.3/event.examples.html
- Event | PHP 8.3 7878
- 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
... ection EventHttpConnection::getPeer — Gets the remote address and port associated with the connection EventHttpConnection::makeRequest — Makes an HTTP request over the specified connection EventHttpConnection::setCloseCallback — Set callback for connection ...
-
https://man.mtool.work/php/8.3/book.event.html
- 関数・メソッド | PHP 8.3 7439
- 関数・メソッド マニュアル内の全関数およびメソッドの一覧 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 言語と同様にス
... ection EventHttpConnection::getPeer - Gets the remote address and port associated with the connection EventHttpConnection::makeRequest - Makes an HTTP request over the specified connection EventHttpConnection::setCloseCallback - Set callback for connection ...
-
https://man.mtool.work/php/8.3/indexes.functions.html
PREV
1
NEXT