Created
September 10, 2015 17:55
-
-
Save hintjens/f9ffbadbf34d19d5b8bb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<class | |
name = "hello" | |
title = "The Hello Protocol" | |
script = "zproto_codec_c" | |
package_dir = "." | |
> | |
This is a hello world example. | |
<message name = "HELLO"> | |
Client sends request | |
<field name = "request" type = "string" /> | |
</message> | |
<message name = "WORLD"> | |
Server replies with reply | |
<field name = "reply" type = "string" /> | |
</message> | |
</class> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment