Zach Borboa
6a0645e36f
Bump minor version
2015-03-03 03:15:01 +07:00
Zach Borboa
874bc8c7b0
Add additional progress bar example
2015-03-03 03:12:04 +07:00
Zach Borboa
55214cddb5
Simplify progress example
2015-03-03 00:59:59 +07:00
Zach Borboa
2c2f9f5f46
Merge branch 'm0h3n-master'
...
* m0h3n-master:
Add progress callback
2015-03-03 00:45:02 +07:00
mohsen
abe5bee54b
Add progress callback
2015-02-27 17:59:07 +03:30
Zach Borboa
f9d06fb2ac
Clean up parameter names
2015-02-25 02:05:09 +07:00
Zach Borboa
5a5ce14915
Clean up
2015-02-25 02:02:06 +07:00
Zach Borboa
d12f12f39f
Merge pull request #147 from zachborboa/master
...
Fix #146 : Add ability to specify a callback for Curl::download() and MultiCurl::download()
2015-02-25 01:41:24 +07:00
Zach Borboa
cfb0011627
Bump minor version (backwards-compatible API changes)
2015-02-25 01:26:41 +07:00
Zach Borboa
1e97ab474f
Update readme function parameters
2015-02-25 01:25:38 +07:00
Zach Borboa
20ee312a10
Add ability to specify a callback for MultiCurl::download()
2015-02-25 01:24:38 +07:00
Zach Borboa
ab6c11eb13
Allow calling call() with any number of arguments
2015-02-25 01:13:58 +07:00
Zach Borboa
e28b41998c
Call download callback only on success
2015-02-25 00:14:15 +07:00
Zach Borboa
eb8b6dcc19
Add ability to specify a callback for Curl::download()
2015-02-24 12:56:17 +07:00
Zach Borboa
2e916fe04c
Merge pull request #145 from zachborboa/master
...
Fix #82 : Allow setting the base url for requests in the constructor
2015-02-22 23:27:36 +07:00
Zach Borboa
f6c9162132
Bump minor version (backwards-compatible API changes)
2015-02-22 23:21:55 +07:00
Zach Borboa
e5b0f627c2
Update function parameters in readme
2015-02-22 23:21:33 +07:00
Zach Borboa
2f7073743e
Allow setting the base url for requests in the constructor (Curl::__construct($base_url = null))
2015-02-22 23:17:32 +07:00
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