Wire - amark/gun GitHub Wiki
Mandatory
Read how to port GUN first. This page is just an outline.
UTF8
UTF8 is used as the default encoding.
{
or[
, if a wire message (after decompressing) starts with one of these symbols, useJSON
(not RAD) to parse it.[
will be a list of messages, just iterate over them and call them individually.
RAD is not used on the wire yet.
Envelope
GUN messages may have extra properties on it, especially if DAM is used, that make up the message envelope.
Message
#
message identifier to deduplicate against. mandatory@
is the identifier that this message is acknowledging a reply to.get
is a lexical lookup.put
is a graph.ok
object (dictionary/set)err
text / number / object
WIP
... more coming soon ...