diff options
Diffstat (limited to 'src/inc/varlink.htm')
| -rw-r--r-- | src/inc/varlink.htm | 8 |
1 files changed, 4 insertions, 4 deletions
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.</p> <p>For C, there is a library by <a href="https://emersion.fr" -target="_blank">emersion</a> called vali, which does pretty much all you -need to get going: <a -href="https://emersion.fr/blog/2025/announcing-vali/" class="uri" +target="_blank">emersion</a> called vali, which does pretty much +everything all you need to get going:<br /> +<a href="https://emersion.fr/blog/2025/announcing-vali/" class="uri" target="_blank">https://emersion.fr/blog/2025/announcing-vali/</a></p> <p>When you have written your service, here is how to interact with it just using standard utils, socat and jq:</p> @@ -26,7 +26,7 @@ just using standard utils, socat and jq:</p> <span id="cb2-6"><a href="#cb2-6" aria-hidden="true" tabindex="-1"></a><span class="st"> }</span></span> <span id="cb2-7"><a href="#cb2-7" aria-hidden="true" tabindex="-1"></a><span class="st"> }</span></span> <span id="cb2-8"><a href="#cb2-8" aria-hidden="true" tabindex="-1"></a><span class="op">EOF</span></span></code></pre></div> -<p>This will return the service interface (if the service listening at +<p>This will return the service interface, if the service listening at the socket actually implements it.</p> <p>Note the use of <code>jq --raw-output0</code>. It is possible to omit the jq invocations, the input JSON data should be followed by a NUL |