View Source Nex.Messages.Msg (Nex v0.1.0)
Nostr Message schema.
Use this module to decode and encode message strings passed over the websocket connection.
Internally Nex passes messages around as tuples so we can take advantage of pattern matching.
Link to this section Summary
Functions
Decodes the given message string into a tuple.
Encodes the given message tuple into a string.
Link to this section Types
Link to this section Functions
Decodes the given message string into a tuple.
Encodes the given message tuple into a string.