Server IP : 172.67.158.161 / Your IP : 18.226.28.192 Web Server : LiteSpeed System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : giankuin ( 1871) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/thread-self/root/home/giankuin/sieuthiweb.com.vn/wp-content/plugins/duplicator-pro/aws/Guzzle/Http/Curl/ |
Upload File : |
<?php namespace DuplicatorPro\Guzzle\Http\Curl; defined("ABSPATH") or die(""); use DuplicatorPro\Guzzle\Common\HasDispatcherInterface; use DuplicatorPro\Guzzle\Common\Exception\ExceptionCollection; use DuplicatorPro\Guzzle\Http\Message\RequestInterface; /** * Interface for sending a pool of {@see RequestInterface} objects in parallel */ interface CurlMultiInterface extends \Countable, HasDispatcherInterface { const POLLING_REQUEST = 'curl_multi.polling_request'; const ADD_REQUEST = 'curl_multi.add_request'; const REMOVE_REQUEST = 'curl_multi.remove_request'; const MULTI_EXCEPTION = 'curl_multi.exception'; const BLOCKING = 'curl_multi.blocking'; /** * Add a request to the pool. * * @param RequestInterface $request Request to add * * @return CurlMultiInterface */ public function add(RequestInterface $request); /** * Get an array of attached {@see RequestInterface} objects * * @return array */ public function all(); /** * Remove a request from the pool. * * @param RequestInterface $request Request to remove * * @return bool Returns true on success or false on failure */ public function remove(RequestInterface $request); /** * Reset the state and remove any attached RequestInterface objects * * @param bool $hard Set to true to close and reopen any open multi handles */ public function reset($hard = false); /** * Send a pool of {@see RequestInterface} requests. * * @throws ExceptionCollection if any requests threw exceptions during the transfer. */ public function send(); }