Index of values


C
create [Tilde_client]
create uri creates a client with local identity keypair and discovery service URI uri.
create [Tilde_node]
create ~secret_key ~domain ~listen_uri zmq_context creates a node listening at ZeroMQ URI listen_uri.

D
discover [Tilde_client]
discover returns the list of endpoints corresponding to the service, if one is registered at the node client is connected to.
domain [Tilde_uri]
domain uri returns the domain, extracted from uri.

L
listen [Tilde_node]
listen node returns a thread that answers messages and expires old entries.

M
make [Tilde_uri]
make ~domain ~path ~public_key creates a tilde:// URI from its components.

N
node_info [Tilde_client]
node_info client returns information about the node client is connected to.

O
of_string [Tilde_uri]
of_string str converts string str to a tilde:// URI.
of_uri [Tilde_uri]
of_uri uri validates uri as a tilde:// URI or returns an error.

P
path [Tilde_uri]
path uri returns the path, extracted from uri.
pp [Tilde_uri]
pp fmt uri pretty-prints the tilde:// URI uri.
public_key [Tilde_uri]
public_key uri returns the Curve25519 public key in raw form, extracted from uri.

S
service_list [Tilde_client]
service_list client returns the list of all services registered at the node client is connected to.
services [Tilde_node]
services node returns a list of all services registered in node.

T
to_string [Tilde_endpoint]
to_string endp converts endp to a host:port string representation.
to_string [Tilde_uri]
to_string uri converts the tilde:// URI uri to a string.
to_uri [Tilde_uri]
to_uri uri returns an Uri.t corresponding to tilde:// URI uri.