Skip to content

Commit

Permalink
THRIFT-3334 Markdown notation of protocol spec is malformed
Browse files Browse the repository at this point in the history
This closes #610
  • Loading branch information
nsuke authored and bufferoverflow committed Sep 21, 2015
1 parent c2993c0 commit 245c347
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion doc/specs/thrift-protocol-spec.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
Thrift Protocol Structure
====================================================================

Last Modified: 2007-Jun-29

Expand Down Expand Up @@ -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>
Expand Down Expand Up @@ -94,3 +96,4 @@ of a function, or an exception.
<set-elem-type> ::= <field-type>
<set-size> ::= I32
```

0 comments on commit 245c347

Please sign in to comment.