[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch

title

Body

[close]

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

(no description)

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

Defines 1 class

CurlHandler:: (6 methods):
  __construct()
  __destruct()
  __invoke()
  _invokeAsArray()
  checkoutEasyHandle()
  releaseEasyHandle()


Class: CurlHandler  - X-Ref

HTTP handler that uses cURL easy handles as a transport layer.

Requires PHP 5.5+

When using the CurlHandler, 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
Accepts an associative array of options:

- factory: Optional callable factory used to create cURL handles.
The callable is passed a request hash when invoked, and returns an
array of the curl handle, headers resource, and body resource.
- max_handles: Maximum number of idle handles (defaults to 5).

param: array $options Array of options to use with the handler

__destruct()   X-Ref
No description

__invoke(array $request)   X-Ref

param: array $request
return: CompletedFutureArray

_invokeAsArray(array $request)   X-Ref

param: array $request
return: array

checkoutEasyHandle()   X-Ref
No description

releaseEasyHandle($handle)   X-Ref
No description



Generated: Wed Nov 11 20:33:01 2020 Cross-referenced by PHPXref 0.7.1