Commit Graph

128 Commits

Author SHA1 Message Date
Zach Borboa 43f96a4c8b Clean up 2020-10-27 19:05:58 -07:00
Mao Wang 0982719743 update examples 2020-10-28 09:31:37 +08:00
Mao Wang 5a3a4cca9d update examples 2020-10-28 09:31:03 +08:00
Mao Wang 0e513d3082 update examples 2020-10-28 09:28:02 +08:00
Zach Borboa f5bc12ac56 Add example for using rate limiter via MultiCurl::setRateLimit() 2020-05-16 23:45:59 -07:00
Zach Borboa 1f62ac4428 Fix #606: Add example for fetching range using Curl::setRange() 2020-04-20 23:03:27 -07:00
Zach Borboa c78d271b29 Fix #626: Add MultiCurl example for retrying with a new proxy 2020-04-18 10:40:25 -07:00
Zach Borboa ea66e3bfb9 Standardize the use import statements 2020-04-17 18:47:59 -07:00
Zach Borboa fe1a65b741 Unify file names of download example script 2019-10-31 20:44:05 -07:00
Zach Borboa 33b748c71a Unify Curl and MultiCurl examples 2019-10-31 20:40:52 -07:00
Zach Borboa 04d1db9d54 Rename download file examples 2019-10-31 20:34:36 -07:00
Zach Borboa 11dbef81fe Fix #603: Add note on getting progress indicators to work 2019-10-13 22:28:45 -07:00
Zach Borboa 0857023319 Fix #572,#582: Add MultiCurl::setProxies() to make multicurl requests with multiple proxies 2019-05-12 01:01:57 -07:00
Zach Borboa 494d8a75a2 Add additional tests for MultiCurl proxy functions 2019-05-11 23:26:10 -07:00
Zach Borboa 6cd12b6d24 Fix #585: Add example for MultiCurl::addCurl() 2019-05-07 23:43:32 -07:00
Zach Borboa 12661cffe2 Fix #581: Add example to retry request based on HTTP status code. 2019-04-30 00:52:34 -07:00
Zach Borboa 35a32a7a77 Fix #567: Add proxy support for MultiCurl 2019-01-05 00:43:21 -08:00
Zach Borboa 4320e8fe96 Fix #559: Add example that sets custom request instance tags. 2018-12-05 22:46:03 -08:00
Zach Borboa 28bb757012 Fix #554: Add example for making a request through a SOCKS 5 proxy 2018-10-30 21:51:31 -07:00
Zach Borboa c2f47ca553 Fix #553: Add example for sending a POST request with XML data 2018-10-30 21:17:05 -07:00
Sandy Ganz ab17c4f9c4 Removed index on response
The $curl->response seems to be all that is needed, the 'json' index was invalid when I tried it.
2018-10-10 09:05:22 -07:00
Zach Borboa 0f790e77b6 Ensure any code after a redirect is not executed 2018-10-01 23:54:52 -07:00
Zach Borboa 6ce706da91 Fix #532: Add example that uses manual json encoding 2018-07-27 01:03:34 -07:00
Zach Borboa 01d9955e6d Use correct mime type 2018-07-22 21:41:43 -07:00
Zach Borboa d474d3f40f Default Curl::setProxyTunnel() to enable tunneling; Use Curl::setProxyTunnel() in proxy example 2018-07-17 20:21:44 -07:00
Zach Borboa 29dd124a6d Use Curl::setProxy() in proxy example 2018-07-17 20:16:55 -07:00
Zach Borboa eca70c8d41 Add custom xml decoder example 2018-06-19 01:23:24 -07:00
Zach Borboa dd886611e6 Add script to start development servers for load test 2018-04-28 00:32:01 -07:00
Zach Borboa 00cfe93f6a Use MultiCurl::setConcurrency() in load test example 2018-04-27 23:31:46 -07:00
Zach Borboa ef4468d36f Fix #305: Implement Curl::getResponseCookies() 2017-11-01 22:59:25 -07:00
Zach Borboa a470ce9cf1 Clean up 2017-10-12 23:27:17 -07:00
Zach Borboa ce9ff3c7ec Fix #347: Add basic support for requests using relative paths 2017-10-09 19:30:36 -07:00
Zach Borboa 50d4b277e9 Use configurable max retries 2017-09-04 14:35:45 -07:00
Zach Borboa ab76ee5192 Add examples for Curl::setRetry() and MultiCurl::setRetry() 2017-09-02 02:42:23 -07:00
Zach Borboa 20d718e97e Allow examples to run without modification to the include path 2017-08-25 00:36:03 -07:00
Zach Borboa 3f4e0fc49e Fix sniff violation 2017-08-06 13:52:27 -07:00
Zach Borboa a4cf524119 Fix #459: Add example with json response as associative array 2017-07-30 14:27:20 -07:00
Zach Borboa 3736a07e3f Fix #454, #279: Remove vendor dir symlink causing issues 2017-06-28 03:59:11 -07:00
Zach Borboa eeaf3f9534 Clean up PSR-2 coding styles 2017-05-02 07:56:45 -07:00
Zach Borboa 2264362338 Clean up namespacing 2017-04-30 15:58:33 -07:00
Zach Borboa b754ebf065 Add Coinbase ETH spot price example 2017-04-30 13:29:12 -07:00
Zach Borboa a97721c8ea Add memory leak test examples 2017-04-30 13:19:59 -07:00
Zach Borboa c86e86d917 Fix #428: Add custom request example 2017-03-01 19:00:47 -08:00
Zach Borboa 80f874b7c2 Add multicurl download example with success, error, and complete callbacks 2016-12-23 00:55:16 -08:00
Zach Borboa 95c9f92c9f Clean up 2016-11-12 09:21:06 -08:00
Zach Borboa 36709adbba Clean up 2016-11-12 09:04:24 -08:00
Zach Borboa 5763a7c60f Remove unused variable 2016-10-14 19:46:06 -07:00
Zach Borboa 27abd4899a Add additional examples to cover supported request methods 2016-10-12 08:06:15 -07:00
Zach Borboa d17da3e5ee Remove unnecessary json_encode() on post data when using json content-type 2016-09-30 21:44:16 -07:00
Zach Borboa 15db0b95a3 Add syntax check exclusion; Clean up syntax 2016-09-27 00:28:57 -07:00