equal
deleted
inserted
replaced
76 """ |
76 """ |
77 Write encoded message and metadata to out in the following format: |
77 Write encoded message and metadata to out in the following format: |
78 |
78 |
79 data length (unsigned int), |
79 data length (unsigned int), |
80 encoded message and metadata, as a flat key-value dict. |
80 encoded message and metadata, as a flat key-value dict. |
|
81 |
|
82 Each message should have 'type' attribute. Messages of unknown type |
|
83 should be ignored. |
81 """ |
84 """ |
82 |
85 |
83 # teach ui that write() can take **opts |
86 # teach ui that write() can take **opts |
84 structured = True |
87 structured = True |
85 |
88 |