usir v0.2.0 Usir.Protocol behaviour

Summary

Types

Callbacks

handle_info(protocol, info)

Specs

handle_info(protocol :: any, info :: term) :: return
handle_packet(protocol, packet)

Specs

handle_packet(protocol :: any, packet :: term) :: return
init(arg0, arg1)

Specs

init(Usir.Conn.t, map | list) :: protocol :: any
terminate(protocol, reason)

Specs

terminate(protocol :: any, reason :: term) :: return