Results of 1 - 2 of about 2 for arrive (0.001 sec.)
- 例 | PHP 8.3 11228
- 例 The examples below walk through a complete service: a server that exposes a few arithmetic methods, a synchronous client that calls them, a client that fans several calls out concurrently, and a client that talks to a server over TCP. 例
... from clients. The doc comments of the public methods are collected and shown on the service information page. RPC requests arrive as HTTP POST requests carrying a binary Yar protocol payload, so the script is usually mapped to a URI on a regular web se ... ispatches them all at once with Yar_Concurrent_Client::loop() . The responses are passed to the callback in the order they arrive, not in the order the calls were registered. Right after all requests have been sent, the callback is invoked once with nu ...
-
https://man.mtool.work/php/8.3/yar.examples.html
- Yar_Concurrent_Client::call — Register a concurrent call | PHP 8.3 7485
- Yar_Concurrent_Client::call (PECL yar >= 1.0.0) Yar_Concurrent_Client::call — Register a concurrent call 説明 public static function Yar_Concurrent_Client::call ( string $uri , string $method , ? array $parameters = null , ? callable $callb
... mediately; all registered calls are sent together by Yar_Concurrent_Client::loop() , and the responses are handled as they arrive. 注意 : Only HTTP and HTTPS URIs are supported. Concurrent calls are sent simultaneously using curl's multi-handle interfa ... parameters The list of arguments passed to the remote method. callback A callable invoked when the response for this call arrives, with two arguments: the response value, and a callinfo array describing the call: sequence — the sequence number returne ...
-
https://man.mtool.work/php/8.3/yar-concurrent-client.call.html
PREV
1
NEXT