caterva2.subscribe#

caterva2.subscribe(root, host='localhost:8002')#

Subscribe to a root.

Parameters:
  • root (str) – The name of the root to subscribe to.

  • host (str) – The host to query.

Returns:

The response from the server.

Return type:

str