From 9df5902e8cdf9d7f13e9da9f7045a182c1704a01 Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Thu, 23 Oct 2025 16:29:21 +0200 Subject: varlink: edit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Robert Günzler --- src/inc/varlink.htm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/inc/varlink.htm') diff --git a/src/inc/varlink.htm b/src/inc/varlink.htm index 7de95de..aa1811d 100644 --- a/src/inc/varlink.htm +++ b/src/inc/varlink.htm @@ -5,9 +5,9 @@ properties of DBUS, like the introspection capabilities, and combines them with simple standard tools/technologies in the form of unix sockets and JSON.

For C, there is a library by emersion called vali, which does pretty much all you -need to get going: emersion called vali, which does pretty much +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:

@@ -26,7 +26,7 @@ just using standard utils, socat and jq:

} } EOF -

This will return the service interface (if the service listening at +

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, the input JSON data should be followed by a NUL -- cgit 1.4.1