Exemplo n.º 1
0
        //public bool Success { get { return _success; } }
        //public bool LoadFromWeb { get { return _loadFromWeb; } }
        //public bool LoadFromCache { get { return _loadFromCache; } }
        //public UrlCachePathResult UrlCachePath { get { return _urlCachePath; } }
        //public HttpResponseMessage HttpResponse { get { return _httpResponse; } }

        // HttpRequestParameters requestParameters = null
        public Http_v5(HttpRequest_v5 request, HttpManager_v5 httpManager)
        {
            _request     = request;
            _httpManager = httpManager;
            //if (requestParameters != null)
            //    _requestParameters = requestParameters;
            //else
            //    _requestParameters = new HttpRequestParameters();
        }
Exemplo n.º 2
0
        //public HttpManager_v3 HttpManager { get { return _httpManager; } set { _httpManager = value; } }
        //public UrlCache UrlCache { get { return _urlCache; } set { _urlCache = value; } }

        public HttpCacheManager(HttpManager_v5 httpManager, UrlCache urlCache)
        {
            _httpManager = httpManager;
            _urlCache    = urlCache;
        }