Beispiel #1
0
        public void Process(AnalyticsRequest request)
        {
            var response = process(request).Result;

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