private void OnResponse(ExtensionEvent e) { Console.WriteLine(e.Command); }
// got a response back from a request sent to the server private void OnResponse(ExtensionEvent e) { // just pass the info through if (ExtensionEvent != null) ExtensionEvent(new Dictionary<string, object>() { { "command", e.Command }, { "subcommand", e.SubCommand }, { "data", e.Data } }); }