Ejemplo n.º 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;
        }
Ejemplo n.º 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);
        }