# `Baby.Protocol`
[🔗](https://github.com/mwmiller/baby_ex/blob/main/lib/baby/protocol.ex#L1)

Protocol implementation

# `definition`

A map of the protocol definitions

# `inbound`

Handle inbound data of the provided message type based on the supplied connection state

# `msglookup`

A dual-way map between message types and semantic protocol atoms

# `outbound`

Craft and enqueue an outbound messagei or the provided type from the current connection state

# `presort`

# `unpack_nonce_box`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
