Exemple #1
0
        public static LoginResponse CreateFromHttpResponse(object msg)
        {
            var httpMsg = msg as HttpResponseMessage;
            var res     = HttpManager.ParseJson <LoginResponse>(httpMsg);

            return(res);
        }
Exemple #2
0
 public static IJsonResponse CreateFromHttpResponse(HttpResponseMessage msg)
 {
     return(HttpManager.ParseJson <IJsonResponse>(msg));
 }
Exemple #3
0
 public static Dictionary <string, string> GetContent(this HttpResponseMessage res)
 {
     return(HttpManager.ParseJson <Dictionary <string, string> >(res));
 }