private static void Iorpc_CommandResultReceived(object sender, Limitless.ioRPC.Events.ioEventArgs e) { if (e.Data == null) { Console.WriteLine("[SampleServer] Received RPC Call Result: fn({0}) {1}", e.CommandName, "(void)"); } else { Console.WriteLine("[SampleServer] Received RPC Call Result: fn({0}) {1}", e.CommandName, e.Data); } }
private static void Iorpc_CommandExceptionReceived(object sender, Limitless.ioRPC.Events.ioEventArgs e) { Console.WriteLine("[SampleServer] Received RPC Call Exception: fn({0}) {1}", e.CommandName, e.ExceptionMessage); }