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; }
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); }