Expand description
Messages a client sends to a relay.
Per NIP-01, every message is a heterogeneous JSON array tagged by its
command ("EVENT", "REQ", "CLOSE", "AUTH", "COUNT"). Custom
Serialize/Deserialize impls preserve the wire shape; the public enum
layout matches the protocol surface so callers don’t have to know about
the magic command strings.
Enums§
- Client
Message - Messages sent from a client to a relay.
- Client
Message Error - Errors raised when parsing a
ClientMessage.