PayloadType protocol (expcap v0.1.2) View Source
This protocol indicates a module that is aware of which parser should be used to handle its body.
Link to this section Summary
Functions
This function is passed a packet and it returns the parser that should be used to parse its body.
Link to this section Types
Specs
t() :: any()
Link to this section 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.