-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Wire
Mark Nadal edited this page May 15, 2022
·
4 revisions
Read how to port GUN first. This page is just an outline.
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.
GUN messages may have extra properties on it, especially if DAM is used, that make up the message envelope.
-
#
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
... more coming soon ...