Results of 1 - 5 of about 5 for setCloseCallback (0.002 sec.)
- EventHttpConnection::setCloseCallback — Set callback for connection close | PHP... 11858
- EventHttpConnection::setCloseCallback (PECL event >= 1.8.0) EventHttpConnection::setCloseCallback — Set callback for connection close 説明 public function EventHttpConnection::setCloseCallback ( callable $callback , mixed $data = ? ): void
... allback ( EventHttpConnection $conn = null , mixed $arg = null ): void 戻り値 値を返しません。 例 例1 EventHttpConnection::setCloseCallback() example <?php /* * Setting up close-connection callback * * The script handles closed connections using HTTP API. * * Us ... ) { echo __FUNCTION__ , PHP_EOL ; } function _http_default ( $req , $dummy ) { $conn = $req -> getConnection (); $conn -> setCloseCallback ( '_close_callback' , NULL ); /* By enabling Event::READ we protect the server against unclosed conections. This is a pecu ...
-
https://man.mtool.work/php/8.3/eventhttpconnection.setclosecallback.html
- EventHttpRequest::getConnection — Returns EventHttpConnection object | PHP 8.3 10148
- EventHttpRequest::getConnection (PECL event >= 1.8.0) EventHttpRequest::getConnection — Returns EventHttpConnection object 説明 public function EventHttpRequest::closeConnection (): EventHttpConnection Returns EventHttpConnection object whi
... ::getConnection() method is usually useful when we need to set up a callback on connection close. See EventHttpConnection::setCloseCallback() . パラメータ この関数にはパラメータはありません。 戻り値 Returns EventHttpConnection object. 参考 EventHttpConnection::s ...
-
https://man.mtool.work/php/8.3/eventhttprequest.getconnection.html
- The EventHttpConnection class | PHP 8.3 9670
- 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
... , int &$port ): void public function makeRequest ( EventHttpRequest $req , int $type , string $uri ): bool public function setCloseCallback ( callable $callback , mixed $data = ? ): void public function setLocalAddress ( string $address ): void public function s ... the connection EventHttpConnection::makeRequest — Makes an HTTP request over the specified connection EventHttpConnection::setCloseCallback — Set callback for connection close EventHttpConnection::setLocalAddress — Sets the IP address from which HTTP connections ...
-
https://man.mtool.work/php/8.3/class.eventhttpconnection.html
- Event | PHP 8.3 7372
- 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 connection EventHttpConnection::makeRequest — Makes an HTTP request over the specified connection EventHttpConnection::setCloseCallback — Set callback for connection close EventHttpConnection::setLocalAddress — Sets the IP address from which HTTP connections ...
-
https://man.mtool.work/php/8.3/book.event.html
- 関数・メソッド | PHP 8.3 6875
- 関数・メソッド マニュアル内の全関数およびメソッドの一覧 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 connection EventHttpConnection::makeRequest - Makes an HTTP request over the specified connection EventHttpConnection::setCloseCallback - Set callback for connection close EventHttpConnection::setLocalAddress - Sets the IP address from which HTTP connections ...
-
https://man.mtool.work/php/8.3/indexes.functions.html
PREV
1
NEXT