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

Link to this section Functions

Link to this function

payload_parser(this_type)

View Source

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.