public void SendMessage(IResponseMessage message) { client.SendData(JsonConvert.SerializeObject(message)); }