egra: better, faster, and more flexible vertical gradients in agg mini
[iv.d.git] / ncrpctest / rpcclient.d
blob21ecef99980eb83ada30690e5e1d07690ee6c041
1 import iv.ncrpc;
2 import iv.vfs.io;
4 import rpcapi;
7 void main () {
8 UDSocket sk;
9 sk.connect("/k8/rpc-test");
10 auto res = sk.rpcall!getList(666);
11 writeln("result: ", res);
12 auto list = sk.rpcallany!(string[])("listEndpoints");
13 writeln(list.length, " endpoints found");
14 foreach (string s; list) writeln(" ", s);
15 sk.rpcall!quit;