The GuavaSocket framing protocol: a reliable-messaging layer carried as JSON
text frames over a WebSocket. Mirrors guava.socket.protocol.
Summary
Functions
Valid close reasons.
Decode a JSON string into a frame struct. Raises on unknown types.
Encode a frame struct to a JSON string.
Build a frame struct from a decoded JSON map.
Types
Functions
@spec close_reasons() :: [String.t()]
Valid close reasons.
Decode a JSON string into a frame struct. Raises on unknown types.
Encode a frame struct to a JSON string.
Build a frame struct from a decoded JSON map.