Commit Graph

236 Commits

Author SHA1 Message Date
Zach Borboa 1edc13b5eb Clean up docblocks 2016-08-29 23:05:01 -07:00
Zach Borboa 8db91c79c7 Ensure Curl::setOpts() returns true when all options are successfully set 2016-08-29 22:44:48 -07:00
Zach Borboa 39c21041a5 Clean up per PSR2 2016-08-24 00:25:38 -07:00
Zach Borboa 5877dd0933 Bump minor version 2016-08-18 19:27:24 -07:00
Zach Borboa a2918325ae Fix "Too many open files" error when adding hundreds of downloads using MultiCurl:addDownload() 2016-08-15 23:41:46 -07:00
Zach Borboa 58a6568cab Return immediately when already multicurl has already started 2016-08-15 00:39:26 -07:00
Zach Borboa e31718fbfe Remove negation 2016-08-15 00:30:09 -07:00
Zach Borboa 849137a95e Use explicit argument separator when building url 2016-08-12 02:01:23 -07:00
Zach Borboa 004021f376 Clean up 2016-08-11 20:49:59 -07:00
Zach Borboa ea7e649308 Set content-length header when it can be determined 2016-08-11 20:47:47 -07:00
Zach Borboa 294aad0260 Remove trailing whitespace 2016-08-11 20:28:44 -07:00
Gor Martsen 8a377052bc Fix documentation 2016-08-11 11:58:40 -04:00
Gor Martsen 4f16a605aa Add Search request 2016-08-11 11:54:18 -04:00
Gor Martsen 3f94e02f35 Add custom request support 2016-08-10 17:38:23 -04:00
Zach Borboa 35df88a9c5 Remove unnecessary function call 2016-08-10 02:51:46 -07:00
Zach Borboa 8f2b878237 Clean up spacing 2016-08-10 02:46:38 -07:00
Zach Borboa 1ad73d5da0 Remove all caps 2016-08-07 22:55:35 -07:00
Zach Borboa 9aca3a996c Clean up 2016-08-07 22:42:38 -07:00
Zach Borboa 26701569b2 Implement Curl::setOpts() 2016-08-07 22:41:12 -07:00
Zach Borboa a8c2b53fa1 Store option set only when option successfully set 2016-08-07 21:11:25 -07:00
Zach Borboa 61aef351a7 Replace "else if" with "elseif" 2016-08-07 15:12:04 -07:00
Zach Borboa 63b06beb9a Bump major version 2016-08-07 02:27:11 -07:00
Zach Borboa a48ec2bfff Check all array values for binary data; Remove JSON_PRETTY_PRINT only supported PHP >= 5.4.0 2016-08-07 01:40:02 -07:00
Zach Borboa a32726bc09 Clean up 2016-08-07 01:37:30 -07:00
Zach Borboa 679ce8e3c4 Fix #345: Allow POSTing multidimensional array with file 2016-08-07 00:04:36 -07:00
Zach Borboa 4b1084647b Bump minor version 2016-07-25 08:35:37 -07:00
Zach Borboa d2d4fe3f5a Move JSON content-type pattern encode check to start of Curl::buildPostData 2016-07-24 01:10:26 -07:00
Zach Borboa fe6c0c55cb Clean up 2016-07-24 00:56:21 -07:00
Zach Borboa 6bae7d020c Call json_decode() without $options parameter in PHP versions less than 5.4.0 2016-07-23 14:16:06 -07:00
Zach Borboa 8285b9ff21 Fix #357: Allow passing json_decode() parameters to Curl::setDefaultJsonDecoder 2016-07-23 01:26:57 -07:00
Zach Borboa 6085204f2f Simplify Curl::setCookieString 2016-07-17 14:41:50 -07:00
Zach Borboa 93cee4b8e2 Merge branch 'master' of git://github.com/mydansun/php-curl-class into mydansun-master
* 'master' of git://github.com/mydansun/php-curl-class:
  Update Curl.php
  Update Curl.php
  Add setCookieString method on Curl.php
2016-07-17 13:55:58 -07:00
Zach Borboa 1437f32492 Bump minor version 2016-07-16 14:29:08 -07:00
Zach Borboa e3f159079e Merge branch 'master' of github.com-zachborboa:zachborboa/php-curl-class
* 'master' of github.com-zachborboa:zachborboa/php-curl-class:
  Add defaultDecoder for parseResponse
  Add defaultDecoder for parseResponse
2016-07-11 01:09:21 -07:00
Zach Borboa 1028030d8f Add Curl::getInfo() 2016-07-11 01:07:35 -07:00
Zach Borboa 978f149d56 Make Curl::effectiveUrl a deferred property 2016-07-11 00:49:15 -07:00
Zach Borboa 0805ecf044 Merge branch 'master' into master 2016-07-11 00:21:35 -07:00
Zach Borboa b24b575e58 Make Curl::totalTime a deferred property 2016-07-11 00:17:11 -07:00
Zach Borboa cccef7707b Merge branch 'master' of git://github.com/zuoRambo/php-curl-class into zuoRambo-master
* 'master' of git://github.com/zuoRambo/php-curl-class:
  Add defaultDecoder for parseResponse
  Add defaultDecoder for parseResponse
2016-07-10 22:49:23 -07:00
Zach Borboa 25d9304672 Add output parameter to MultiCurl::verbose 2016-07-04 11:34:52 -07:00
Zach Borboa 74f9d0fa37 Update parameter names to match for Curl::post() and MultiCurl::addPost() 2016-07-04 11:11:54 -07:00
Zach Borboa 9ded19d9ad Update return doc 2016-07-04 02:47:43 -07:00
Zach Borboa d1e2f71a5a Fix indentation 2016-07-04 02:12:06 -07:00
Zach Borboa bfebb82adb Clarify documented return values; Remove parseResponse() unnecessarily returning array 2016-07-04 01:53:35 -07:00
Rambone b38bb9eff2 Merge branch 'master' into master 2016-06-21 21:30:09 -05:00
Oxicode 2fa41a2521 Update Curl.php 2016-06-01 18:24:08 -05:00
Oxicode 9006dbf3a0 Update Curl.php 2016-06-01 18:22:34 -05:00
Rambo ca6e9ba812 Add defaultDecoder for parseResponse 2016-05-19 19:42:01 +08:00
Rambo 1cf7bc169a Add defaultDecoder for parseResponse 2016-05-19 19:14:18 +08:00
Chengke Sun 2e4a868a39 Update Curl.php 2016-05-11 21:20:31 +08:00