File Message Format

This page describes a format for transporting a file in a xbus message.

The message is divided in Two parts:

Body

If the file is embedded, the remaining chunks contain the raw data of the file.

Examples

Simple text file

chunk1: {"filename":"simple.txt","type":"text/plain","size":12} chunk2: Hello World!