UrlEndpointListenerConfiguration.from constructor

UrlEndpointListenerConfiguration.from(
  1. UrlEndpointListenerConfiguration config
)

Creates a new UrlEndpointListenerConfiguration that is initialized with the state of the given config.

Implementation

UrlEndpointListenerConfiguration.from(UrlEndpointListenerConfiguration config)
  : _collections = List.unmodifiable(config.collections),
    port = config.port,
    networkInterface = config.networkInterface,
    disableTls = config.disableTls,
    tlsIdentity = config.tlsIdentity,
    authenticator = config.authenticator,
    enableDeltaSync = config.enableDeltaSync,
    readOnly = config.readOnly;