Commit Graph

393 Commits

Author SHA1 Message Date
Zach Borboa 72f7e09f57 Bump patch version 2015-02-16 16:33:38 +07:00
Zach Borboa dd565a0f2b Update readme with functions added to MultiCurl 2015-02-16 16:21:44 +07:00
Zach Borboa 7f2a97f57b Implement additional MultiCurl functions available in Curl.
MultiCurl::setBasicAuthentication(), MultiCurl::setCookie(),
MultiCurl::setCookieFile(), MultiCurl::setCookieJar(),
MultiCurl::setJsonDecoder(), MultiCurl::setReferer(), MultiCurl::setReferrer(),
MultiCurl::setTimeout(), MultiCurl::setUserAgent(), MultiCurl::unsetHeader(),
MultiCurl::verbose()
2015-02-16 15:55:57 +07:00
Zach Borboa fcaf4c5d2d Make scripts executable 2015-02-16 14:21:33 +07:00
Zach Borboa 9de0754409 Update available methods for Curl 2015-02-15 01:54:40 +07:00
Zach Borboa f6563812e8 Group class properties and methods in MultiCurl by visibility 2015-02-15 01:49:08 +07:00
Zach Borboa c3a76c7a62 Group class properties and methods in Curl class by visibility 2015-02-15 01:40:42 +07:00
Zach Borboa 2298e08238 Bump patch version 2015-02-15 00:37:47 +07:00
Zach Borboa 7e341b56c4 Fix "Undefined index" errors 2015-02-15 00:36:37 +07:00
Zach Borboa 124d60314c Implement MultiCurl::addDownload(); Add Curl::download() and MultiCurl::download() examples 2015-02-15 00:10:16 +07:00
Zach Borboa 7356801272 Bump patch version 2015-02-12 23:32:29 +07:00
Zach Borboa f847128cf3 Fix "PHP Notice: Use of undefined constant STDOUT" when reading the PHP script from stdin 2015-02-12 23:20:52 +07:00
Zach Borboa 9d55cee39b Merge pull request #135 from zborboa-google/master
Implement MultiCurl for processing multiple cURL handles asynchronously
2015-02-12 22:01:28 +07:00
Zach Borboa de9ea7847d Bump major version (incompatible API changes). 2015-02-12 21:50:04 +07:00
Zach Borboa 252055207b Clean up 2015-02-12 18:55:55 +07:00
Zach Borboa a02e6c4e4d Update multi curl example in readme; Add multi curl examples 2015-02-12 18:51:23 +07:00
Zach Borboa daa7694330 Add Experimental Methods to readme 2015-02-11 07:49:10 +07:00
Zach Borboa 6e9bdf9817 Implement MultiCurl::setHeader(), MultiCurl::setOpt(), MultiCurl::getOpt() 2015-02-11 07:41:21 +07:00
Zach Borboa a0da3731d4 Add callback override test 2015-02-11 06:56:42 +07:00
Zach Borboa eb9986a229 Add individual curl callback error tests 2015-02-11 06:36:16 +07:00
Zach Borboa 7bf9508828 Add individual curl callback tests 2015-02-11 06:19:27 +07:00
Zach Borboa fc8b6e1e31 Add callback tests for errors 2015-02-10 14:40:59 -08:00
Zach Borboa 012c310c75 Rename curl_multi -> multi_curl 2015-02-10 14:15:52 -08:00
Zach Borboa 1060fd30a5 Implement MultiCurl::addPut() 2015-02-10 14:08:18 -08:00
Zach Borboa 51420bb764 Implement MultiCurl::addPost() 2015-02-10 14:00:09 -08:00
Zach Borboa 5eb436cb26 Implement MultiCurl::addPatch() 2015-02-10 13:53:04 -08:00
Zach Borboa 6bd3626544 Implement MultiCurl::addOptions(); Fix issue caused by messages left in the queue (curl_multi_info_read) 2015-02-10 13:39:33 -08:00
Zach Borboa bad06c358b Implement and add tests for MultiCurl::addDelete() and MultiCurl::addHead() 2015-02-10 12:41:18 -08:00
Zach Borboa cd80ae8211 Use Curl::setURL() for HTTP calls; Update command line equivalents of calls 2015-02-10 11:44:03 -08:00
Zach Borboa 9da8277926 Add example implementation of MultiCurl::addGet() with MultiCurlTest tests 2015-02-10 10:21:57 -08:00
Zach Borboa 79d099b9ab Refactor Curl for MultiCurl.
Add Curl::id.
Use CURLOPT_HEADERFUNCTION in place of CURLOPT_WRITEHEADER for response headers.
Add Curl::setUrl().
Add Curl::headerCallback().
Make Curl::exec() public.
Make Curl::call() public.
2015-02-09 19:42:09 -08:00
Zach Borboa 2e8ccceae3 Remove support for parallel requests 2015-02-09 01:48:32 -08:00
Zach Borboa b2f89626fe Merge pull request #133 from zachborboa/master
Fix #86: Add default timeout of 30 seconds
2015-02-08 23:18:10 +07:00
Zach Borboa 33d5c8b463 Bump patch version 2015-02-08 23:14:29 +07:00
Zach Borboa bbdba6d907 Fix #86: Add default timeout of 30 seconds 2015-02-08 23:13:25 +07:00
Zach Borboa dc4e45fd12 Bump patch version 2015-01-26 23:30:12 -08:00
Zach Borboa a6ba4cfd75 Merge pull request #130 from zachborboa/master
Fix callbacks for curl multi requests; Add beforeSend() tests
2015-01-26 23:27:59 -08:00
Zach Borboa ac7adb503c Fix callbacks for curl multi requests; Add beforeSend() tests 2015-01-26 23:23:21 -08:00
Zach Borboa f1afdc7dfd Clean up 2015-01-26 07:24:40 -08:00
Zach Borboa 356c2c31ed Clean up 2015-01-24 16:39:25 -08:00
Zach Borboa fe95c24cf8 Add available methods to readme 2015-01-24 16:30:30 -08:00
Zach Borboa 27373e73de Merge pull request #128 from zachborboa/master
Fix #126: Add configurable json decoder
2015-01-24 10:34:57 -08:00
Zach Borboa 85cd7e4d90 Add configurable json decoder 2015-01-24 10:26:44 -08:00
Zach Borboa 9adaf86205 Merge pull request #125 from zborboa-google/patch-7
Update composer.json
2015-01-24 09:04:01 -08:00
zborboa-google 74c9cc8d68 Update composer.json 2015-01-23 15:51:22 -08:00
Zach Borboa 09a649493d Merge pull request #122 from zachborboa/master
Add bump major, minor, and patch version scripts for semantic versioning
2015-01-17 03:08:17 -08:00
Zach Borboa c2be7a781e Add bump major, minor, and patch version scripts for semantic versioning 2015-01-17 03:07:16 -08:00
Zach Borboa 4fab0f3006 Merge pull request #121 from zachborboa/master
json-encode request when request header Content-Type is application/json and data is a multidimensional array
2015-01-17 02:54:51 -08:00
Zach Borboa 1243678883 Bump version 2015-01-17 02:52:17 -08:00
Zach Borboa 891a66c327 Fix #120: json-encode request when request header Content-Type is application/json and data is a multidimensional array 2015-01-17 02:00:25 -08:00