예제 #1
0
        public static IRemoteResourceService At(string uri, IRequestDispatcher dispatcher, bool useDefaultFeatures = true)
        {
            IRemoteResourceService service = new Restfulie(uri, dispatcher).EntryPointService;

            if (useDefaultFeatures)
                service = service.With(new FollowRedirects());

            return service;
        }
예제 #2
0
        public static IRemoteResourceService At(string uri, IRequestDispatcher dispatcher, bool useDefaultFeatures = true)
        {
            IRemoteResourceService service = new Restfulie(uri, dispatcher).EntryPointService;

            if (useDefaultFeatures)
            {
                service = service.With(new FollowRedirects());
            }

            return(service);
        }