public void Reply(ResponseMessage response) { var data = response.GetBody<CounterData>(); Console.WriteLine($"{data.Type} - {data.Value}"); }