Skip to content

Instantly share code, notes, and snippets.

@hintjens
Created September 10, 2015 17:55
Show Gist options
  • Save hintjens/f9ffbadbf34d19d5b8bb to your computer and use it in GitHub Desktop.
Save hintjens/f9ffbadbf34d19d5b8bb to your computer and use it in GitHub Desktop.
<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