|
|
|
@ -270,4 +270,28 @@ class Client
@@ -270,4 +270,28 @@ class Client
|
|
|
|
|
|
|
|
|
|
return null; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public function kevaListNamespaces(): ?array |
|
|
|
|
{ |
|
|
|
|
$this->_id++; |
|
|
|
|
|
|
|
|
|
$this->_prepare( |
|
|
|
|
'', |
|
|
|
|
'POST', |
|
|
|
|
[ |
|
|
|
|
'method' => 'keva_list_namespaces', |
|
|
|
|
'params' => [], |
|
|
|
|
'id' => $this->_id |
|
|
|
|
] |
|
|
|
|
); |
|
|
|
|
|
|
|
|
|
$response = $this->_execute(); |
|
|
|
|
|
|
|
|
|
if (!empty($response['result']) && is_array($response['result'])) |
|
|
|
|
{ |
|
|
|
|
return $response['result']; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
return null; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|