mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34:12 +02:00
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…
x
Reference in New Issue
Block a user