<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>dendrite.daemon on Dendrite</title><link>https://kristianjborgwarth.github.io/dendrite.docs/docs/daemon/</link><description>Recent content in dendrite.daemon on Dendrite</description><generator>Hugo</generator><language>en-us</language><atom:link href="https://kristianjborgwarth.github.io/dendrite.docs/docs/daemon/index.xml" rel="self" type="application/rss+xml"/><item><title>protocol</title><link>https://kristianjborgwarth.github.io/dendrite.docs/docs/daemon/protocol/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://kristianjborgwarth.github.io/dendrite.docs/docs/daemon/protocol/</guid><description>&lt;h1 id="protocol"&gt;&lt;strong&gt;protocol&lt;/strong&gt;&lt;a class="anchor" href="#protocol"&gt;#&lt;/a&gt;&lt;/h1&gt;
&lt;p&gt;Communication between client and daemon is composed of two things: standard streams, often referred to as
stdio (after the popular C library &lt;code&gt;stdio.h&lt;/code&gt;), and JSON-RPC. While this documentation does not
aim to give an in-depth explanation of the two, it will cover some basics, in order for
you to be able to roll your own client.&lt;/p&gt;
&lt;h2 id="standard-streams"&gt;&lt;strong&gt;standard streams&lt;/strong&gt;&lt;a class="anchor" href="#standard-streams"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Standard streams are a set of preconnected communication channels. Of said channels,
there are three: input, output and error. It is quite simple — the client application writes to the daemon&amp;rsquo;s
input channel, and reads from the daemon&amp;rsquo;s output and error channel.&lt;/p&gt;</description></item></channel></rss>