mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-28 10:38:18 +01:00
akwizgran created page: TransportApp
@@ -2,8 +2,6 @@ MessagingApp is an application that uses [BSP](BSP) to synchronise private messa
|
|||||||
|
|
||||||
### Message types
|
### Message types
|
||||||
|
|
||||||
MessagingApp uses two message types:
|
|
||||||
|
|
||||||
**0: PRIVATE_MESSAGE** - The content is a [BDF](BDF) list with two elements: message body (string) and attachments (dictionary, may be null). The key for each attachment is its name, and the value is a list with two elements: MIME type (string), and message identifier (raw, exactly HASH_LEN bytes).
|
**0: PRIVATE_MESSAGE** - The content is a [BDF](BDF) list with two elements: message body (string) and attachments (dictionary, may be null). The key for each attachment is its name, and the value is a list with two elements: MIME type (string), and message identifier (raw, exactly HASH_LEN bytes).
|
||||||
|
|
||||||
**1: ATTACHMENT** - The content is raw data.
|
**1: ATTACHMENT** - The content is raw data.
|
||||||
|
|||||||
Reference in New Issue
Block a user