Module libqaul_types::messages[][src]

Low-level binary payload messages for qaul.net

A set of utilities to dispatch and receive binary payload messages from a remote user on the network. Higher-level message abstractions are available as external services. Use this type if none of the existing message variants apply to your payload.

A message is always properly framed and checked for data and cryptographic signature integrity. When sending a message to a set of individual users (meaning not setting Mode::Flood), it is also encrypted.

Try avoid sending massive payloads to a set of recipients because the routing layer won’t be able to deduplicate frames that are encrypted. A filesharing service is available to make initiating lazy data pulls for your service.

Structs

Message

A multi-purpose service Message

MsgQuery

A query interface for the local message store

Enums

IdType

Specify the id type for a message dispatch

Mode

Specify the way that a message gets dispatched

SigTrust

Signature trust level of an incoming Message

Constants

ID_LEN

Length of an MsgId, for converting to and from arrays

Type Definitions

MsgId

A unique, randomly generated message ID

MsgRef

A reference to an internally stored message object