Skip to main content

Module app_data

Module app_data 

Source
Expand description

How one frame message travels as SimpleX application data (specification §5.1): content type DATA_TAG, the frame text under FRAME_KEY, and the fixed FALLBACK_TEXT an app without Zaun shows.

Constants§

DATA_TAG
The content type of a frame message (MsgContent type).
FALLBACK_TEXT
What an app that does not know DATA_TAG shows. Fixed: it never carries frame content.
FRAME_KEY
The data key holding the frame message text.

Functions§

data
The application data that carries the frame message frame.
frame
The frame message text in application data of content type tag, or None when it is not a Zaun frame. Keys other than FRAME_KEY are ignored, for later additions.