Zach Borboa
c4facf5bb8
Merge pull request #144 from zachborboa/master
...
Allow setting the base url for requests
2015-02-22 18:39:59 +07:00
Zach Borboa
d559a3d9c2
Bump minor version (backwards-compatible API changes)
2015-02-22 18:34:17 +07:00
Zach Borboa
3aca8d167c
Allow setting the base url for requests.
...
Curl::setUrl() can now be used to specify the base url while passing only one
$data parameter to Curl::delete(), Curl::get(), Curl::head(), Curl::options(),
Curl::patch(), Curl::post(), and Curl::put().
2015-02-22 18:25:16 +07:00
Zach Borboa
f9df529d07
Make before script executable
2015-02-22 13:47:32 +07:00
Zach Borboa
9c08e45c8b
Rename syntax check script
2015-02-22 13:42:22 +07:00
Zach Borboa
623d10cdc6
Update available methods for Curl
2015-02-22 02:39:55 +07:00
Zach Borboa
2ef8c27813
Merge branch 'k00ni-patch-1'
...
* k00ni-patch-1:
Update available methods for Curl
Add http digest auth tests
Combine http basic auth tests
Remove redundant default/required option CURLOPT_RETURNTRANSFER
2015-02-22 02:32:56 +07:00
Zach Borboa
ad7f7697e0
Update available methods for Curl
2015-02-22 02:32:39 +07:00
Zach Borboa
ecd0831953
Add http digest auth tests
2015-02-22 02:30:35 +07:00
Zach Borboa
06b0cb62a0
Combine http basic auth tests
2015-02-22 01:18:42 +07:00
Zach Borboa
5b60fdaf1a
Remove redundant default/required option CURLOPT_RETURNTRANSFER
2015-02-22 00:42:09 +07:00
Zach Borboa
8206b7aacf
Merge branch 'k00ni-patch-1'
...
* k00ni-patch-1:
Add setDigestAuthentication to Curl class
2015-02-22 00:40:55 +07:00
Zach Borboa
3d3c33e599
Merge branch 'patch-1' of git://github.com/k00ni/php-curl-class into k00ni-patch-1
...
* 'patch-1' of git://github.com/k00ni/php-curl-class:
Add setDigestAuthentication to Curl class
2015-02-22 00:40:14 +07:00
Zach Borboa
5aff99acd2
Merge pull request #143 from zachborboa/master
...
Rename Curl::postfields() -> Curl::buildPostData()
2015-02-21 23:52:51 +07:00
Konrad Abicht
b5de0139ea
Add setDigestAuthentication to Curl class
...
Function setDigestAuthentication works mostly like setBasicAuthentication, except it set **CURLOPT_HTTPAUTH** to **CURLAUTH_DIGEST**. Furthermore it sets **CURLOPT_RETURNTRANSFER** to **true**.
2015-02-20 21:56:44 +01:00
Zach Borboa
2ba3584eaa
Reorder class functions
2015-02-19 14:05:48 +07:00
Zach Borboa
3fb64b14de
Rename Curl::postfields() -> Curl::buildPostData
2015-02-19 14:04:18 +07:00
Zach Borboa
96cda8a58b
Merge pull request #141 from zachborboa/master
...
Enforce indentation consistency in php files
2015-02-17 01:40:21 +07:00
Zach Borboa
0dfb568734
Add workaround for hhvm to avoid "Notice: File could not be loaded: ..."
2015-02-17 01:34:31 +07:00
Zach Borboa
06c4f9ff0d
Fix "warning: here-document at line XX delimited by end-of-file (wanted `EOF')"
2015-02-17 01:20:16 +07:00
Zach Borboa
a8575a1ecd
Enforce indentation consistency in php files
2015-02-17 00:31:43 +07:00
Zach Borboa
2f53663c5a
Merge pull request #140 from zachborboa/master
...
Implement additional MultiCurl functions available in Curl
2015-02-16 21:25:23 +07:00
Zach Borboa
d67fbd3677
Remove unnecessary usage of xargs
2015-02-16 16:55:14 +07:00
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
60e1cb9287
Merge pull request #139 from zachborboa/master
...
Clean up
2015-02-15 02:05:23 +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
b0dd2d4860
Merge pull request #138 from zachborboa/master
...
Fix "Undefined index" errors
2015-02-15 00:45:55 +07:00
Zach Borboa
2298e08238
Bump patch version
2015-02-15 00:37:47 +07:00
Zach Borboa
7f21ebd6ee
Merge pull request #137 from zachborboa/master
...
Implement MultiCurl::addDownload(); Add Curl::download() and MultiCurl::download() examples
2015-02-15 00:37:13 +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
bc46163157
Merge pull request #136 from zachborboa/master
...
Fix #134 : Fix "PHP Notice: Use of undefined constant STDOUT" when reading the PHP script from stdin
2015-02-12 23:34:23 +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