How can we implement Replication by using Couchbase.Lite nuget package. Will the following code work in windows 7 as websockets are not supported in Windows 7. Please advise if any work around is there.
private static readonly Uri SyncUrl = new Uri("ws://localhost:4984");
var dbUrl = new Uri(SyncUrl, DbName);
var config = new ReplicatorConfiguration(db, new URLEndpoint(dbUrl)) {
ReplicatorType = ReplicatorType.PushAndPull,
Continuous = true,
Authenticator = new BasicAuthenticator(username, password),
Channels = new[] {$"channel.{username}"}
};
var repl = new Replicator(config);