Results of 1 - 10 of about 17 for makeRequest (0.002 sec.)
- Makes an HTTP request over the specified connection 12311
- « EventHttpConnection::getPeer EventHttpConnection::setCloseCallback » PHP Manual EventHttpConnection Makes an HTTP request over the specified connection 検索 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 , string $uri ): bool Makes an HTTP request over the specified connection. type is one ... 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
- Makes an HTTP request over the specified connection 12311
- « EventHttpConnection::getPeer EventHttpConnection::setCloseCallback » PHP Manual EventHttpConnection Makes an HTTP request over the specified connection 検索 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 , string $uri ): bool Makes an HTTP request over the specified connection. type is one ... 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 10121
- « EventHttp::setTimeout EventHttpConnection::__construct » PHP Manual Event The EventHttpConnection class 検索 The EventHttpConnection class (PECL event >= 1.4.0-beta) はじめに Represents an HTTP connection. クラス概要 class EventHttpConnec
... 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 ... function connection void string int Sets address port class size setTimeout construct base event EventBase getBase getPeer makeRequest setCloseCallback ...
-
https://man.mtool.work/php/8.3/class.eventhttpconnection.html
- The EventHttpConnection class 10121
- « EventHttp::setTimeout EventHttpConnection::__construct » PHP Manual Event The EventHttpConnection class 検索 The EventHttpConnection class (PECL event >= 1.4.0-beta) はじめに Represents an HTTP connection. クラス概要 class EventHttpConnec
... 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 ... キーワード: EventHttpConnection connection Sets address port size setTimeout construct base event EventBase getBase getPeer makeRequest setCloseCallback callback setLocalAddress setLocalPort setMaxBodySize setMaxHeadersSize setRetries timeout associated conn ...
-
https://man.mtool.work/php/8.3/class.eventhttpconnection.html
- Gets the remote address and port associated with the connection 9759
- « EventHttpConnection::getBase EventHttpConnection::makeRequest » PHP Manual EventHttpConnection Gets the remote address and port associated with the connection 検索 EventHttpConnection::getPeer (PECL event >= 1.2.6-beta) EventHttpConnectio
... 返しません。 関連キーワード: address port EventHttpConnection Gets remote associated connection getPeer peer getBase Search makeRequest event beta function string int void パラメータ Address ...
-
https://man.mtool.work/php/8.3/eventhttpconnection.getpeer.html
- Gets the remote address and port associated with the connection 9759
- « EventHttpConnection::getBase EventHttpConnection::makeRequest » PHP Manual EventHttpConnection Gets the remote address and port associated with the connection 検索 EventHttpConnection::getPeer (PECL event >= 1.2.6-beta) EventHttpConnectio
... 値 値を返しません。 関連キーワード: address port EventHttpConnection Gets remote associated connection getPeer peer getBase makeRequest event beta Address Port ...
-
https://man.mtool.work/php/8.3/eventhttpconnection.getpeer.html
- Constructs EventHttpRequest object 7845
- « EventHttpRequest::closeConnection EventHttpRequest::findHeader » PHP Manual EventHttpRequest Constructs EventHttpRequest object 検索 EventHttpRequest::__construct (PECL event >= 1.4.0-beta) EventHttpRequest::__construct — Constructs Event
... 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
- Constructs EventHttpRequest object 7845
- « EventHttpRequest::closeConnection EventHttpRequest::findHeader » PHP Manual EventHttpRequest Constructs EventHttpRequest object 検索 EventHttpRequest::__construct (PECL event >= 1.4.0-beta) EventHttpRequest::__construct — Constructs Event
... 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
- 例 7655
- « インストール手順 Event flags » PHP Manual Event 例 検索 例 例1 Simple HTTP client <?php // Read callback function readcb ( $bev , $base ) { //$input = $bev->input; //$bev->getInput(); //$pos = $input->search("TTP"); $pos = $bev -> input -
... 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
- Set callback for connection close 7655
- « EventHttpConnection::makeRequest EventHttpConnection::setLocalAddress » PHP Manual EventHttpConnection Set callback for connection close 検索 EventHttpConnection::setCloseCallback (PECL event >= 1.8.0) EventHttpConnection::setCloseCallbac
...
-
https://man.mtool.work/php/8.3/eventhttpconnection.setclosecallback.html