View Source Baby.Protocol (Baby v0.6.0)

Protocol implementation

Link to this section Summary

Functions

A map of the protocol definitions

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

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

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

Link to this section Functions

A map of the protocol definitions

Link to this function

inbound(data, conn_info, message_type)

View Source

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

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

Link to this function

outbound(conn_info, message_type)

View Source

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

Link to this function

unpack_nonce_box(arg, conn_info)

View Source