Class URLEndpointListenerConfiguration
A class for configuring a new URLEndpointListener instance
Inheritance
Namespace: Couchbase.Lite.P2P
Assembly: Couchbase.Lite.dll
Syntax
public sealed class URLEndpointListenerConfiguration : object
Remarks
NOTE: This is an enterprise edition feature
Constructors
| Improve this Doc View SourceURLEndpointListenerConfiguration(Database)
Constructs a configuration object
Declaration
public URLEndpointListenerConfiguration(Database database)
Parameters
Type | Name | Description |
---|---|---|
Database | database | The local database to operate on |
Properties
| Improve this Doc View SourceAuthenticator
The authenticator used by the listener to authenticate the requests.
Declaration
public IListenerAuthenticator Authenticator { get; set; }
Property Value
Type | Description |
---|---|
IListenerAuthenticator |
Remarks
NOTE: This is an enterprise edition feature
Database
Gets the database that this listener operates on locally
Declaration
public Database Database { get; }
Property Value
Type | Description |
---|---|
Database |
Remarks
NOTE: This is an enterprise edition feature
DisableTLS
Disable TLS communication. The default value is false which means that the TLS will be enabled by default.
Declaration
public bool DisableTLS { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Remarks
NOTE: This is an enterprise edition feature
EnableDeltaSync
Allow delta sync when replicating with the listener. The default value is false.
Declaration
public bool EnableDeltaSync { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Remarks
NOTE: This is an enterprise edition feature
NetworkInterface
The network interface in the form of the IP Address or network interface name such as en0 that the listener will listen to. The default value is nil which means that the listener will listen to all network interfaces.
Declaration
public string NetworkInterface { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
NOTE: This is an enterprise edition feature
Port
The port that the listener will listen to. If default value is zero which means that the listener will automatically select an available port to listen to when the listener is started.
Declaration
public ushort Port { get; set; }
Property Value
Type | Description |
---|---|
System.UInt16 |
Remarks
NOTE: This is an enterprise edition feature
ReadOnly
Allow only pull replication to pull changes from the listener. The default value is false.
Declaration
public bool ReadOnly { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Remarks
NOTE: This is an enterprise edition feature
TlsIdentity
The TLS Identity used for configuring TLS Communication. The default value is null which means that a generated anonymous self-signed identity will be used unless the disableTLS property is set to true.
Declaration
public TLSIdentity TlsIdentity { get; set; }
Property Value
Type | Description |
---|---|
TLSIdentity |
Remarks
NOTE: This is an enterprise edition feature