diff options
| author | Robert Günzler <r@gnzler.io> | 2025-10-23 16:29:21 +0200 |
|---|---|---|
| committer | Robert Günzler <r@gnzler.io> | 2025-11-17 15:04:26 +0100 |
| commit | 9df5902e8cdf9d7f13e9da9f7045a182c1704a01 (patch) | |
| tree | ab41e08e74ee39e930458f47ded1d35bcf69ce98 /src/inc/varlink.md | |
| parent | 3390f4975206c82ab7c7e272385335de7dcaf227 (diff) | |
| download | site-9df5902e8cdf9d7f13e9da9f7045a182c1704a01.tar.gz | |
varlink: edit
Signed-off-by: Robert Günzler <r@gnzler.io>
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, |