lucacorti/lapin

Add protocol for payload handling

lucacorti opened this issue · 0 comments

Message payload could be handled with a protocol which could be used to encode/decode the data and set relevant message properties (like content-type and headers).

This way users could provide custom payload structs and protocol implementations.