Exemplo n.º 1
0
        public void Process(AnalyticsRequest request)
        {
            var response = process(request).Result;

            if (!response.IsSuccessStatusCode)
            {
                ToApplicationException(response);
            }
        }
Exemplo n.º 2
0
 private Task <HttpResponseMessage> process(AnalyticsRequest request)
 {
     return(GetHttpClient().PostAsJsonAsync(
                string.Format("?sdk=n_1&auth_token={0}", request.AppToken), request));
 }