Commit d95c37bc authored by Christian Hergert's avatar Christian Hergert

doc: update Jsonrpc-GLib documentation

parent c1d404fa
......@@ -10,19 +10,53 @@
<title>&package_name; Reference Manual</title>
for &package_string;.
The latest version of this documentation can be found on-line at
<ulink role="online-location" url=";/index.html">;/</ulink>.
<para>This document is the API reference for for &package_name; &package_version;.</para>
The latest version of this API reference is also available
<ulink role="online-location" url="">online</ulink>.
If you find any issues in this API reference, please report it
using <ulink type="http" url="&package_bugreport;">the online
bug reporting tool</ulink> at
<holder>Christian Hergert</holder>
Permission is granted to copy, distribute and/or modify this
document under the terms of the <citetitle>GNU Free
Documentation License</citetitle>, Version 1.1 or any later
version published by the Free Software Foundation with no
Invariant Sections, no Front-Cover Texts, and no Back-Cover
Texts. You may obtain a copy of the <citetitle>GNU Free
Documentation License</citetitle> from the Free Software
Foundation by visiting <ulink type="http"
url="">their Web site</ulink> or by writing
The Free Software Foundation, Inc.,
<street>59 Temple Place</street> - Suite 330,
<city>Boston</city>, <state>MA</state> <postcode>02111-1307</postcode>,
<title>Jsonrpc-GLib API Reference</title>
<xi:include href="xml/jsonrpc-client.xml"/>
<xi:include href="xml/jsonrpc-input-stream.xml"/>
<xi:include href="xml/jsonrpc-server.xml"/>
<xi:include href="xml/jsonrpc-message.xml"/>
<xi:include href="xml/jsonrpc-input-stream.xml"/>
<xi:include href="xml/jsonrpc-output-stream.xml"/>
<xi:include href="xml/jsonrpc-server.xml"/>
<chapter id="object-tree">
......@@ -25,8 +25,8 @@
* SECTION:jsonrpc-output-stream
* @title: #JsonrpcOutputStream
* @short_description: A JSONRPC output stream
* @title: JsonrpcOutputStream
* @short_description: A JSON-RPC output stream
* The #JsonrpcOutputStream is resonsible for serializing messages onto
* the underlying stream.
......@@ -22,6 +22,16 @@
#include "jsonrpc-output-stream.h"
#include "jsonrpc-server.h"
* SECTION:jsonrpc-server
* @title: JsonrpcServer
* @short_description: A server for JSON-RPC communication
* The #JsonrpcServer class can help you implement a JSON-RPC server. You can
* accept connections and then communicate with clients using the
* #JsonrpcClient API.
typedef struct
GHashTable *clients;
......@@ -29,7 +29,6 @@ call_cb (GObject *object,
JsonrpcClient *client = (JsonrpcClient *)object;
g_autoptr(GError) error = NULL;
g_autoptr(GVariant) return_value = NULL;
g_autofree gchar *str = NULL;
g_assert (JSONRPC_IS_CLIENT (client));
g_assert (G_IS_ASYNC_RESULT (result));
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment