diff options
Diffstat (limited to 'src/inc/varlink.md')
| -rw-r--r-- | src/inc/varlink.md | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/inc/varlink.md b/src/inc/varlink.md index bb65dea..9465efe 100644 --- a/src/inc/varlink.md +++ b/src/inc/varlink.md @@ -4,7 +4,8 @@ combines them with simple standard tools/technologies in the form of unix sockets and JSON. For C, there is a library by [emersion][2] called vali, which does pretty much -all you need to get going: https://emersion.fr/blog/2025/announcing-vali/ +everything all you need to get going: +https://emersion.fr/blog/2025/announcing-vali/ When you have written your service, here is how to interact with it just using standard utils, socat and jq: @@ -31,7 +32,7 @@ cat <<-EOF | jq --raw-output0 | socat STDIO UNIX-CONNECT:"$SOCKET" | jq EOF ``` -This will return the service interface (if the service listening at the socket +This will return the service interface, if the service listening at the socket actually implements it. Note the use of `jq --raw-output0`. It is possible to omit the jq invocations, |