Exemplo n.º 1
0
 public void SendJson(JsonTypeSend type, String json)
 {
     connection.SendMessage(Newtonsoft.Json.JsonConvert.SerializeObject(new Dictionary <string, string>
     {
         { "type", "" + (int)type },
         { "value", json }
     }));
 }
Exemplo n.º 2
0
 private void SendJson(JsonTypeSend type, String json)
 {
     account.SendJson(type, json);
 }