diff options
author | Nobuaki Sukegawa <nsukeg@gmail.com> | 2015-09-21 12:25:10 +0900 |
---|---|---|
committer | Roger Meier <roger@apache.org> | 2015-09-21 23:06:18 +0200 |
commit | 245c347b7374182f8142ac07e43473ddd8c4d0de (patch) | |
tree | f3772c77e6224423e2103d7d6f210814c2dae612 /doc | |
parent | c2993c0edfd5355d4a5fae03e0e1c292536001f1 (diff) | |
download | thrift-245c347b7374182f8142ac07e43473ddd8c4d0de.tar.gz |
THRIFT-3334 Markdown notation of protocol spec is malformed
This closes #610
Diffstat (limited to 'doc')
-rw-r--r-- | doc/specs/thrift-protocol-spec.md | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/specs/thrift-protocol-spec.md b/doc/specs/thrift-protocol-spec.md index 48ee8273d..950e16335 100644 --- a/doc/specs/thrift-protocol-spec.md +++ b/doc/specs/thrift-protocol-spec.md @@ -1,4 +1,5 @@ Thrift Protocol Structure +==================================================================== Last Modified: 2007-Jun-29 @@ -31,12 +32,13 @@ structure. There are some "dumb" terminals like STRING and INT that take the place of an actual encoding specification. They key point to notice is that ALL messages are just one wrapped -<struct>. Depending upon the message type, the <struct> can be +`<struct>`. Depending upon the message type, the `<struct>` can be interpreted as the argument list to a function, the return value of a function, or an exception. -------------------------------------------------------------------- +``` <message> ::= <message-begin> <struct> <message-end> <message-begin> ::= <method-name> <message-type> <message-seqid> @@ -94,3 +96,4 @@ of a function, or an exception. <set-elem-type> ::= <field-type> <set-size> ::= I32 +``` |