Source code for domainrobot.services.hello

from __future__ import annotations

from ._base import BaseService


[docs] class HelloService(BaseService): """Connection test operations."""
[docs] def ping(self, *, headers: dict | None = None): """Test the connection to the API. :param headers: Optional extra HTTP headers. """ return self._request("GET", "/hello", headers=headers)