[ Index ] |
PHP Cross Reference of phpBB-3.2.11-deutsch |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 248 lines (8 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
CurlMultiHandler:: (10 methods):
__construct()
__get()
__destruct()
__invoke()
execute()
addRequest()
removeProcessed()
cancel()
addDelays()
processMessages()
Class: CurlMultiHandler - X-Ref
Returns an asynchronous response using curl_multi_* functions.__construct(array $options = []) X-Ref |
This handler accepts the following options: - mh: An optional curl_multi resource - handle_factory: An optional callable used to generate curl handle resources. the callable accepts a request hash and returns an array of the handle, headers file resource, and the body resource. - select_timeout: Optional timeout (in seconds) to block before timing out while selecting curl handles. Defaults to 1 second. - max_handles: Optional integer representing the maximum number of open requests. When this number is reached, the queued futures are flushed. param: array $options |
__get($name) X-Ref |
No description |
__destruct() X-Ref |
No description |
__invoke(array $request) X-Ref |
No description |
execute() X-Ref |
No description |
addRequest(array &$entry) X-Ref |
No description |
removeProcessed($id) X-Ref |
No description |
cancel($id) X-Ref |
Cancels a handle from sending and removes references to it. param: int $id Handle ID to cancel and remove. return: bool True on success, false on failure. |
addDelays() X-Ref |
No description |
processMessages() X-Ref |
No description |
Generated: Wed Nov 11 20:33:01 2020 | Cross-referenced by PHPXref 0.7.1 |