[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch




/vendor/guzzlehttp/ringphp/src/Client/ -> CurlMultiHandler.php (summary)

(no description)

File Size: 248 lines (8 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

CurlMultiHandler:: (10 methods):

Class: CurlMultiHandler  - X-Ref

Returns an asynchronous response using curl_multi_* functions.

This handler supports future responses and the "delay" request client
option that can be used to delay before sending a request.

When using the CurlMultiHandler, custom curl options can be specified as an
associative array of curl option constants mapping to values in the
**curl** key of the "client" key of the request.

__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

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