Exemple #1
0
        public static API createWebsite()
        {
            HttpBaseProtocolFilter filter = new HttpBaseProtocolFilter();
            filter.AutomaticDecompression = true;
            HttpClient http = new HttpClient(filter);
            API web = new API(http, "None");
            web.cookieMonster = filter.CookieManager;
            Frame rootFrame = Window.Current.Content as Frame;

            return web;
        }