PayloadType protocol
This protocol indicates a module that is aware of which parser should be used to handle its body.
Summary↑
payload_parser(this_type) | This function is passed a packet and it returns the parser that should be used to parse its body |
Types ↑
t :: any
Functions
Specs:
- payload_parser(any) :: PayloadParser.t
This function is passed a packet and it returns the parser that should be used to parse its body.