public void Replicate(CouchUri sourceUri, CouchUri targetUri) { CreateUri().Replicate(); var request = ReplicationCommand.Continuous(sourceUri, targetUri); var body = request.ToJson(false); Post(body); }
public void Replicate <TModel>(CouchUri targetUri) { CreateUri().Replicate(); var sourceUri = configuration.NewUri <TModel>(); var request = ReplicationCommand.Continuous(sourceUri, targetUri); var body = request.ToJson(false); Post(body); }