aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs/examples.md
blob: e10e64641ef051a93ccc5db52d402a159587defb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
\page examples Examples of usage

All of these are subject to change, as the API isn't remotely stable yet.

Example of constructing a service and writing it out:
\include write-service.example.c

Example of reading a service in and printing it for debugging:
\include read-service.example.c

Example of making a request to a daemon via TCP transport:
\include fetch-tcp.example.c