From 42f9b236ada3bf78326f454d43d9096fffa16423 Mon Sep 17 00:00:00 2001 From: Matt Reiferson Date: Wed, 23 Jan 2013 13:33:21 -0500 Subject: [PATCH] docs: correct MPUB documentation --- docs/protocol.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/protocol.md b/docs/protocol.md index 09db53a38..091cfd97b 100644 --- a/docs/protocol.md +++ b/docs/protocol.md @@ -86,11 +86,13 @@ Commands are line oriented and structured as follows: * `MPUB` - publish multiple messages to a specified **topic**: - MPUB \n - [ 4-byte size in bytes ][ N-byte binary data ]... (repeated times) + MPUB \n + [ 4-byte body size ] + [ 4-byte num messages ] + [ 4-byte message #1 size ][ N-byte binary data ] + ... (repeated times) - a valid string - - a string representation of integer N Success Response: