Skip to content

Commit 0048f3c

Browse files
authored
Merge pull request #241 from skyverge/master
Make Requests_Transport_cURL::stream_body() public
2 parents d4af2ea + 8369265 commit 0048f3c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

library/Requests/Transport/cURL.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ public function stream_headers($handle, $headers) {
459459
* @param string $data Body data
460460
* @return integer Length of provided data
461461
*/
462-
protected function stream_body($handle, $data) {
462+
public function stream_body($handle, $data) {
463463
$this->hooks->dispatch('request.progress', array($data, $this->response_bytes, $this->response_byte_limit));
464464
$data_length = strlen($data);
465465

0 commit comments

Comments
 (0)