PayloadType protocol

This protocol indicates a module that is aware of which parser should be used to handle its body.

Source

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

payload_parser(this_type)

Specs:

This function is passed a packet and it returns the parser that should be used to parse its body.

Source