github-actions[bot]
6813899890
Bump version: 9.12.0 → 9.12.1
2022-12-08 02:15:38 +00:00
Zach Borboa
0356af095f
Include option constant that uses the CURLINFO_ prefix
2022-12-07 13:23:54 -08:00
github-actions[bot]
ba417b2c4a
Bump version: 9.11.1 → 9.12.0
2022-12-07 02:20:25 +00:00
Zach Borboa
c25d5fe317
Merge pull request #744 from zachborboa/master
...
Add automatic gzip decoding of response
2022-12-05 19:07:23 -08:00
Zach Borboa
7b07ab5166
Add automatic gzip decoding of response ( #740 )
2022-12-05 18:41:56 -08:00
github-actions[bot]
07f65c4bc4
Bump version: 9.11.0 → 9.11.1
2022-12-06 02:13:41 +00:00
Shakir El Amrani
d642a74772
change: remove unused namespace import
2022-12-05 13:11:50 +01:00
github-actions[bot]
53b7dad946
Bump version: 9.10.0 → 9.11.0
2022-12-05 01:29:16 +00:00
Zach Borboa
b86aca6f74
Add Curl::diagnose() HTTP method check matches methods allowed
2022-12-04 13:09:07 -08:00
Zach Borboa
a800387b6c
Add temporary fix missing template params
2022-12-04 12:04:59 -08:00
github-actions[bot]
b6defb4419
Bump version: 9.9.0 → 9.10.0
2022-11-07 01:31:19 +00:00
Zach Borboa
9a5c8ad559
Merge pull request #739 from zachborboa/master
...
Display request options in Curl::diagnose() output
2022-11-05 18:53:16 -07:00
github-actions[bot]
53f1d5670a
Bump version: 9.8.0 → 9.9.0
2022-11-06 01:31:04 +00:00
Zach Borboa
4fb8e2867f
Display request options in Curl::diagnose() output
...
Request options are now displayed when Curl::diagnose() is called and a
deferred constant curlOptionCodeConstants has been added.
2022-11-05 15:27:09 -07:00
Zach Borboa
99795d1d69
Fix MultiCurl::setCookieString()
2022-11-05 14:43:21 -07:00
Zach Borboa
cb6a0e83e6
Pass MultiCurl options to new Curl instances earlier
...
Fix setting of options by passing of MultiCurl options to new Curl
instances earlier. Set options during the Curl initialization instead of
waiting until the request instance is configured in
MultiCurl::initHandle().
2022-11-05 13:48:30 -07:00
Zach Borboa
23fd5b5829
Add deferred constant curlErrorCodeConstants
2022-11-05 07:31:07 -07:00
github-actions[bot]
bf54ee6d9a
Bump version: 9.7.0 → 9.8.0
2022-10-01 01:32:07 +00:00
Zach Borboa
acf8e9f6a0
Include curl error code constant in curl error message (Curl::curlErrorMessage)
...
Before:
Timeout was reached: Operation timed out after 30001 milliseconds with 1453867 out of 3000000 bytes received
After:
Timeout was reached (CURLE_OPERATION_TIMEOUTED): Operation timed out after 30001 milliseconds with 1453867 out of 3000000 bytes received
2022-09-30 07:52:27 -07:00
Zach Borboa
6cf02d111f
Require request headers to be empty before possibly warning about it
2022-09-29 19:07:07 -07:00
github-actions[bot]
ce51152e0f
Bump version: 9.6.3 → 9.7.0
2022-09-29 03:53:55 +00:00
Zach Borboa
067cb72854
Implement ArrayUtil::arrayRandomIndex()
2022-09-28 12:38:16 -07:00
github-actions[bot]
4b096ed518
Bump version: 9.6.2 → 9.6.3
2022-09-24 03:49:46 +00:00
github-actions[bot]
f458bf6d9e
Bump version: 9.6.1 → 9.6.2
2022-09-24 01:53:09 +00:00
Zach Borboa
13cc782d27
Clean up example
2022-08-19 10:14:16 -04:00
Zach Borboa
c2eec0667e
Fix building post data for object
...
PHP 8 error messages:
TypeError: array_keys(): Argument #1 ($array) must be of type array, stdClass given
TypeError: array_values(): Argument #1 ($array) must be of type array, stdClass given
PHP 7 error messages:
TypeError: array_keys() expects parameter 1 to be array, object given
TypeError: array_values() expects parameter 1 to be array, object given
2022-08-19 09:46:26 -04:00
Zach Borboa
85e94ba1b1
Fix #725 : Encode keys for post data with numeric keys
2022-07-28 23:47:29 -04:00
Zach Borboa
a33b7bde4e
Fix #707 : Call MultiCurl::beforeSend() before each request is made
2022-07-01 11:21:57 -04:00
Zach Borboa
d453257b12
Bump version: 9.6.0 → 9.6.1
2022-06-30 20:33:15 -04:00
Zach Borboa
3c9e0c7dc9
Fix #718 : Remove active curl handle when stopping requests early
...
Error message:
Warning: curl_multi_info_read(): supplied resource is not a valid
cURL handle resource in
./vendor/php-curl-class/php-curl-class/src/Curl/MultiCurl.php on
line 999
2022-06-30 13:40:27 -04:00
Zach Borboa
8fdb39bbaf
Fix #718 : Ensure cURL handle is passed to curl_multi_info_read()
...
Error message:
curl_multi_info_read(): supplied resource is not a valid cURL handle resource
2022-06-23 15:24:53 -04:00
Zach Borboa
30ffe42915
Fix #712 : Retain keys for arrays with null values
2022-06-23 12:44:46 -04:00
Zach Borboa
523386ec01
Fix #714 : Attempt to stop active requests when MultiCurl::stop() is called
2022-06-23 08:26:20 -04:00
Zach Borboa
9f02d09f0e
Bump version: 9.5.1 → 9.6.0
2022-03-17 11:17:56 -04:00
Zach Borboa
12b5757c22
Implement MultiCurl::stop()
2022-03-10 18:29:48 -08:00
Zach Borboa
dc4d0db091
Rename variable
2022-03-10 18:29:40 -08:00
Zach Borboa
a0a3f2b10b
Bump version: 9.5.0 → 9.5.1
2021-12-14 11:26:30 -05:00
Zach Borboa
f73b978762
Merge pull request #691 from 3kbest/pr8.1
...
silence PHP 8.1 deprecations
2021-11-27 18:32:27 -05:00
Eirik Besteland
dce71a0c2f
php8.1 ReturnTypeWillChange - not use "use ReturnTypeWillChange;"
2021-11-27 23:49:35 +01:00
Zach Borboa
23ce1726b3
Fix psalm error: InvalidParamDefault
2021-11-25 20:25:08 -05:00
Zach Borboa
c4ee562d5f
Remove additional uses of function_exists() where no longer necessary
2021-11-25 11:36:35 -05:00
Eirik Besteland
3d0209d3b3
php8.1 ReturnTypeWillChange
2021-11-25 00:10:07 +01:00
Theodoros-Franz Gerakitis
e999cb4e25
Fix #686 : Build url without using data parameter
...
Also for PATCH, PUT & SEARCH requests
2021-11-23 23:23:08 -05:00
Zach Borboa
8340a4c0ca
Bump version: 9.4.0 → 9.5.0
2021-11-21 14:12:30 -05:00
Zach Borboa
92a8f3bbe2
Fix #686 : Build url without using data parameter
2021-11-20 23:43:44 -05:00
Zach Borboa
3d9acedb66
Correct the post/redirect/get logic when using MultiCurl::addPost()
2021-11-20 22:17:32 -05:00
Zach Borboa
cc4891ce55
Fix count() on null
2021-11-19 22:54:34 -05:00
Zach Borboa
3bc40c0138
Fix typo
2021-09-23 21:28:18 -04:00
Zach Borboa
37655237ac
Fix PHP CodeSniffer method name warnings
...
Warning message:
Method name "Curl::__get_[...]" is discouraged; PHP has reserved all
method names with a double underscore prefix for future use.
(PHPCompatibility.FunctionNameRestrictions.ReservedFunctionNames.MethodDoubleUnderscore)
2021-09-21 15:58:39 -04:00
Zach Borboa
a4f4223b98
Implement Curl::setStop() for stopping requests early
...
Use Curl::setStop() to stop requests early without downloading
the full response.
2021-09-15 05:49:25 -04:00