Skip to content

Instantly share code, notes, and snippets.

@yallie
Last active October 13, 2015 04:38
Show Gist options
  • Save yallie/4140882 to your computer and use it in GitHub Desktop.
Save yallie/4140882 to your computer and use it in GitHub Desktop.
Zyan «Hello, World» client
// Connect to server
var connection = new ZyanConnection("tcp://localhost:8080/ZyanDemo");
// Create HelloWorldService proxy
var proxy = connection.CreateProxy<IHelloWorldService>();
// Invoke method
proxy.SayHello("HelloWorld");
// Subscribe to a remote event
proxy.MyEvent += (sender, e) => Console.WriteLine("Hi!");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment