Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
This module is responsible for converting from low-level ByteStrings obtained from the 0MQ
sockets into Messages. The only exposed function is parseMessage
, which should only be used in
the low-level 0MQ interface.
Documentation
:: [ByteString] | The list of identifiers sent with the message. |
-> ByteString | The header data. |
-> ByteString | The parent header, which is just "{}" if there is no header. |
-> ByteString | The metadata map, also "{}" for an empty map. |
-> ByteString | The message content. |
-> [ByteString] | Extra raw data buffer(s) |
-> Message | A parsed message. |