diff --git a/library/Director/Core/RestApiClient.php b/library/Director/Core/RestApiClient.php index 889a2c1d..5c9945b7 100644 --- a/library/Director/Core/RestApiClient.php +++ b/library/Director/Core/RestApiClient.php @@ -193,6 +193,14 @@ class RestApiClient } } + protected function readPart($curl, $data) + { + $length = strlen($data); + $this->readBuffer .= $data; + $this->processEvents(); + return $length; + } + public function get($url, $body = null) { return $this->request('get', $url, $body);