RestApiClient: re-add lost method
This commit is contained in:
parent
c75b4fc6b0
commit
5c158e708e
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue