mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-28 18:48:19 +01:00
akwizgran created page: TransportApp
@@ -1,10 +1,10 @@
|
||||
MessagingApp is an application that uses [BSP] to synchronise private messages.
|
||||
MessagingApp is an application that uses [BSP](BSP) to synchronise private messages.
|
||||
|
||||
### Message types
|
||||
|
||||
MessagingApp uses two message types:
|
||||
|
||||
**0: PRIVATE_MESSAGE** - The content is a [BDF] list with two elements: message body (string) and attachments (dictionary, may be null). Each attachment's key 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.
|
||||
|
||||
@@ -17,6 +17,7 @@ MessagingApp uses two message types:
|
||||
|
||||
* All local messages are stored
|
||||
* All remote messages are stored
|
||||
* Messages of type ATTACHMENT that are not referenced are garbage-collected
|
||||
|
||||
### Sharing policy
|
||||
|
||||
|
||||
Reference in New Issue
Block a user