readme: Refer to greet_proto for details

This commit is contained in:
Kenny Levinsen
2020-01-28 22:31:14 +01:00
parent 428cd97151
commit 96d017c267

View File

@@ -54,11 +54,14 @@ The greeter runs as a configured user, which is supposed to be one with no inter
# Protocol # Protocol
See `greet_proto` for detailed protocol information.
## Format
``` ```
_______________________________ +--------------------+---------+
| | |
| payload_length u32 | payload | | payload_length u32 | payload |
|____________________|_________| +--------------------+---------+
``` ```
`payload_length` is native endianness, payload is JSON. `payload_length` is native endianness, payload is JSON.