public static LoginResponse CreateFromHttpResponse(object msg) { var httpMsg = msg as HttpResponseMessage; var res = HttpManager.ParseJson <LoginResponse>(httpMsg); return(res); }
public static IJsonResponse CreateFromHttpResponse(HttpResponseMessage msg) { return(HttpManager.ParseJson <IJsonResponse>(msg)); }
public static Dictionary <string, string> GetContent(this HttpResponseMessage res) { return(HttpManager.ParseJson <Dictionary <string, string> >(res)); }