187 Commits

Author SHA1 Message Date
Zach Borboa 5097545a05 Allow displaying curl option value without specifying value 2024-01-18 09:05:46 -05:00
Zach Borboa b1e6e2c9b5 Add PHP 8.3 as supported 2023-12-05 06:36:50 -08:00
Zach Borboa 826ead13c1 Display list of supported PHP versions with newest first 2023-10-28 18:39:25 -07:00
Zach Borboa 11bd600918 Rename ::setError() to ::afterSend() 2023-08-25 06:39:12 -07:00
Zach Borboa 5e5d284a9b Implement Curl::setError() and MultiCurl::setError() 2023-08-22 20:20:47 -07:00
Zach Borboa 2bb2f32087 Make method to display curl option value public 2023-06-12 20:27:16 -07:00
Zach Borboa c37bb58a48 Make function public 2023-05-23 20:35:36 -07:00
Zach Borboa c6256e31b3 Remove coding standard ruleset exclusion 2023-02-26 12:07:58 -08:00
Zach Borboa ccd476b448 Make https:// and http:// the allowed request protocols by default 2023-02-25 10:23:18 -08:00
Zach Borboa f2df1cf673 Include Curl::diagnose() in example 2023-01-12 08:45:07 -08:00
Zach Borboa bdec727f63 Update script to work with base class 2023-01-12 08:29:24 -08:00
Zach Borboa 794d8dda69 Update badge urls 2022-12-16 05:13:42 -08:00
Zach Borboa 7184b9e7fc Add PHP 8.2 to list of compatible versions 2022-12-08 07:17:50 -08: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 3c4962c902 Update table of contents link 2022-09-30 11:59:39 -07: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 71814c4885 Clarify installation instructions 2022-09-24 06:53:47 -07:00
Zach Borboa 42f69d00fc Make installation commands work well with copy to clipboard action 2022-09-24 06:29:22 -07:00
Zach Borboa 6549081c05 Clean up 2022-09-24 06:26:38 -07:00
Zach Borboa 0e98dfb154 Move testing information to dedicated file 2022-09-24 06:24:34 -07:00
Zach Borboa 29c6c48cee Update name of workflow 2022-09-23 21:06:22 -07:00
Zach Borboa 8f9f4a8586 Add release status badge 2022-09-23 20:47:50 -07: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 12b5757c22 Implement MultiCurl::stop() 2022-03-10 18:29:48 -08:00
Zach Borboa 8b16eb7207 Add PHP 8.1 to list of compatible versions 2021-11-25 14:05:58 -05: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
Zach Borboa daa8bf2aea Use library method in example 2021-07-23 22:07:40 -04:00
Zach Borboa 1226bb1a6c Implement option to capture output of Curl::diagnose() 2021-07-20 23:28:20 -04:00
Zach Borboa 2a899465c4 Add method to run basic request diagnostics 2021-07-18 21:56:03 -04:00
Zach Borboa 250421927f Add additional Curl::set* and MultiCurl::set* helper methods 2021-06-17 11:14:29 -04:00
Zach Borboa 69cab62ba3 Fix badges showing incorrect latest release version
Display the correct latest release version by modifying the image url
query string to specify semantic version sorting. Without this sorting,
releasing 8.9.2, 9.0.0, 9.1.0, and then 8.9.3 would cause version 8.9.3
to incorrectly appear as the current latest release.
2021-05-02 00:14:11 -04:00
Zach Borboa 06ca377f64 Add support for using relative urls with MultiCurl::add*() methods
This change allows setting a base url with MultiCurl and adding requests
using relative paths.

Fixes #628.
2021-03-23 11:03:39 -04:00
Zach Borboa 899005ca87 Use flat icons 2021-03-19 09:33:36 -04:00
Zach Borboa 161f9aea63 Use short array syntax 2021-03-18 01:15:52 -04:00
Zach Borboa cc3f7bac24 Remove PHP v5.x support and add basic doc for how one may install the old version 2021-03-17 12:19:38 -04:00
Zach Borboa 05a1a21090 Remove official support of HHVM
As of HHVM 4.0, PHP is no longer supported:
    "With this release, we no longer aim to be compatible with PHP"
    "We are considering removing support for <?php in the next release [...]"
2021-03-17 09:33:50 -04:00
Zach Borboa 44fc2bf2b8 Update build status image 2021-03-17 00:37:27 -04:00
Zach Borboa bcce1c926a Add PHP 8.0 to list of compatible versions 2021-03-14 00:30:14 -05:00
Zach Borboa ca1c6fb801 Temporarily make function private for now 2021-03-11 22:59:04 -05:00
harry ff2a183c34 Added Curl::fastDownload() for faster downloads using multiple connections. 2021-03-11 22:54:41 -05:00
Zach Borboa 17c0697a4d Update link to continuous integration 2020-05-17 15:32:39 -07:00
Zach Borboa 976008d094 Implement rate limiting requests via MultiCurl::setRateLimit() 2020-05-16 22:01:15 -07:00
Zach Borboa ab407d6b25 Implement disableTimeout()
Implement Curl::disableTimeout() and MultiCurl::disableTimeout()
2020-05-09 09:19:35 -07:00
Zach Borboa ea66e3bfb9 Standardize the use import statements 2020-04-17 18:47:59 -07:00
Zach Borboa 85c9a1a5e9 Clean up 2020-04-10 19:31:28 -07:00
harry 09006e0e26 Implement setInterface()
Implement Curl::setInterface() and MultiCurl::setInterface()
2020-04-10 12:02:41 +05:30
Zach Borboa 7c93a1b746 Fix use of undefined constant STDERR under certain conditions.
Error message:
    Use of undefined constant STDERR - assumed 'STDERR' (this will throw
    an Error in a future version of PHP)
2020-02-21 08:19:55 -08:00
Zach Borboa db99d69aac Update readme 2020-02-19 20:03:30 -08:00
Zach Borboa f57d5f7908 Add PHP 7.4 to list of compatible versions 2020-02-19 19:45:12 -08:00
Zach Borboa dcbc9624f5 Document how to run select tests matching keyword 2019-05-17 05:50:16 -07:00