public VenueStocks GetStocks() { var heartbeatUri = new Uri(Uri + "/stocks"); return(JsonHttpHelper.GetDeserializedResponse <VenueStocks>(heartbeatUri)); }
public Stock GetStock(string symbol) { var heartbeatUri = new Uri(Uri + "/stocks/" + symbol); return(JsonHttpHelper.GetDeserializedResponse <Stock>(heartbeatUri)); }
public static T GetHeartbeat <T>(this IHeartbeatable topic) { var heartbeatUri = new Uri(topic.Uri + "/heartbeat"); return(JsonHttpHelper.GetDeserializedResponse <T>(heartbeatUri)); }