public ServerConnection(ClientConfiguration configuration)
 {
     encoding = Encoding.GetEncoding(1251);
     this.clientConfiguration = configuration;
     converter = new JsonConverter();
 }
Beispiel #2
0
 public Notification(string jsonMessage)
 {
     JsonConverter converter = new JsonConverter();
     notification = converter.ParseJson(jsonMessage);
     notificationMessage = converter.ParseJson(notification[KEY_MESSAGE]);
 }