| [ Index ] |
PHP Cross Reference of phpBB-3.3.14-deutsch |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 585 lines (22 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
CurlFactory:: (15 methods):
__construct()
create()
release()
finish()
invokeStats()
finishError()
createRejection()
getDefaultConf()
applyMethod()
applyBody()
applyHeaders()
removeHeader()
applyHandlerOptions()
retryFailedRewind()
createHeaderFn()
Class: CurlFactory - X-Ref
Creates curl resources from a request| __construct($maxHandles) X-Ref |
param: int $maxHandles Maximum number of idle handles. |
| create(RequestInterface $request, array $options) X-Ref |
| No description |
| release(EasyHandle $easy) X-Ref |
| No description |
| finish(callable $handler,EasyHandle $easy,CurlFactoryInterface $factory) X-Ref |
| Completes a cURL transaction, either returning a response promise or a rejected promise. param: callable $handler param: EasyHandle $easy param: CurlFactoryInterface $factory Dictates how the handle is released return: \GuzzleHttp\Promise\PromiseInterface |
| invokeStats(EasyHandle $easy) X-Ref |
| No description |
| finishError(callable $handler,EasyHandle $easy,CurlFactoryInterface $factory) X-Ref |
| No description |
| createRejection(EasyHandle $easy, array $ctx) X-Ref |
| No description |
| getDefaultConf(EasyHandle $easy) X-Ref |
| No description |
| applyMethod(EasyHandle $easy, array &$conf) X-Ref |
| No description |
| applyBody(RequestInterface $request, array $options, array &$conf) X-Ref |
| No description |
| applyHeaders(EasyHandle $easy, array &$conf) X-Ref |
| No description |
| removeHeader($name, array &$options) X-Ref |
| Remove a header from the options array. param: string $name Case-insensitive header to remove param: array $options Array of options to modify |
| applyHandlerOptions(EasyHandle $easy, array &$conf) X-Ref |
| No description |
| retryFailedRewind(callable $handler,EasyHandle $easy,array $ctx) X-Ref |
| This function ensures that a response was set on a transaction. If one was not set, then the request is retried if possible. This error typically means you are sending a payload, curl encountered a "Connection died, retrying a fresh connect" error, tried to rewind the stream, and then encountered a "necessary data rewind wasn't possible" error, causing the request to be sent through curl_multi_info_read() without an error status. |
| createHeaderFn(EasyHandle $easy) X-Ref |
| No description |
| Generated: Mon Nov 25 19:05:08 2024 | Cross-referenced by PHPXref 0.7.1 |