ReplicatorConfiguration Class |
Namespace: Couchbase.Lite.Sync
public sealed class ReplicatorConfiguration
The ReplicatorConfiguration type exposes the following members.
Name | Description | |
---|---|---|
ReplicatorConfiguration(Database, Database) |
Constructs a configuration between two databases
| |
ReplicatorConfiguration(Database, Uri) |
Constructs a configuration between a database and a remote URL
|
Name | Description | |
---|---|---|
Authenticator |
Gets or sets the class which will authenticate the replication
| |
Channels |
A set of Sync Gateway channel names to pull from. Ignored for push replicatoin.
The default value is null, meaning that all accessible channels will be pulled.
Note: channels that are not accessible to the user will be ignored by Sync Gateway.
| |
ConflictResolver |
Gets or sets the object to use when resolving incoming conflicts. The default
is null which will set up the default algorithm of the most active revision
| |
Continuous |
Gets or sets whether or not the Replicator should stay
active indefinitely. The default is false | |
Database |
Gets or sets the local database participating in the replication.
| |
DocumentIDs |
A set of document IDs to filter by. If not null, only documents with these IDs will be pushed
and/or pulled
| |
Headers |
Extra HTTP headers to send in all requests to the remote target
| |
PinnedServerCertificate |
Gets or sets a certificate to trust. All other certificates received
by a Replicator with this configuration will be rejected.
| |
ReplicatorType |
A value indicating the direction of the replication. The default is
PushAndPull which is bidirectional
| |
Target |
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |