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
Zach Borboa
ec8b7825aa
Refactor json request test to add additional tests
2015-01-17 01:45:52 -08:00
Zach Borboa
f6b626d83d
Bump version
2015-01-14 22:44:23 -08:00
Zach Borboa
9aebeb80b3
Merge pull request #117 from mangeld/patch-1
...
Fixed cpu draining with parallel requests
2.1.2
2015-01-08 13:40:22 -08:00
Miguel Ángel Durán González
224eab6eab
Fixed cpu draining with parallel requests
...
Why not add that call so it stops the loop if curl is not ready? That way the loop won't take all the available cpu.
2015-01-08 21:57:41 +01:00
Zach Borboa
3d03d25d5a
Merge pull request #116 from zachborboa/master
...
Add line ending and indentation character consistency checks
2015-01-01 16:27:36 -08:00
Zach Borboa
c1cf3b3f08
Enforce line ending consistency in php files
2015-01-01 16:19:12 -08:00
Zach Borboa
b24f0e06f8
Merge pull request #115 from zachborboa/master
...
Run unit tests before checking trailing whitespace in php files
2014-12-31 14:28:17 -08:00
Zach Borboa
69c1741597
Prohibit tab characters in php files
2014-12-31 14:27:10 -08:00
Zach Borboa
f8b851dec6
Run unit tests before checking trailing whitespace in php files
2014-12-31 14:01:51 -08:00
Zach Borboa
7ca96aadcc
Merge pull request #114 from zachborboa/master
...
Clean up unit tests
2014-12-31 02:01:12 -08:00
Zach Borboa
965f32cd80
Clean up unit tests
2014-12-31 01:58:40 -08:00
Zach Borboa
0dbe550f4b
Merge pull request #113 from zachborboa/master
...
Add json encoding when request header Content-Type is set to application/json
2014-12-31 01:19:17 -08:00
Zach Borboa
80adf0f3a1
Add json encoding when request header Content-Type is set to application/json
2014-12-31 01:14:18 -08:00
Zach Borboa
94bcef7c74
Merge pull request #112 from zachborboa/master
...
Use CaseInsensitiveArray for request headers
2014-12-31 00:25:17 -08:00
Zach Borboa
5d7d25ac15
Use CaseInsensitiveArray when setting headers
2014-12-31 00:19:11 -08:00
Zach Borboa
44469ecfe3
Use key/value when setting header
2014-12-30 23:25:01 -08:00
Zach Borboa
cc66aefc26
Merge pull request #111 from zachborboa/master
...
Fix #110 : "Warning: curl_setopt(): cannot represent a stream of type MEMORY as a STDIO FILE*"
2014-12-30 22:26:43 -08:00
Zach Borboa
4cb1436983
Fix "Warning: curl_setopt(): cannot represent a stream of type MEMORY as a STDIO FILE*"
2014-12-30 17:04:10 -08:00
Zach Borboa
5ac7f6f717
Merge pull request #109 from whit537/patch-1
...
Update Gratipay example
2014-12-24 00:52:45 -05:00
Chad Whitacre
1a0e9c1f4b
catch up with rename
...
Filename and envvars were updated, but platform and URL weren't.
2014-12-23 14:52:49 -05:00