diff --git a/src/Client.php b/src/Client.php index 1969169..a20f203 100644 --- a/src/Client.php +++ b/src/Client.php @@ -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; + } }