public struct SyncConfiguration
SyncConfiguration represents configuration parameters for Realms intended to sync with
a Realm Object Server.
The URL of the Realm on the Realm Object Server that this configuration should open.
WarningThe URL must be absolute (e.g.
realms://example.com/~/foo), and cannot end with
public let realmURL: URL
Whether this Realm should be a fully synchronized Realm.
Synchronized Realms comes in two flavors: Query-based and Fully synchronized. A fully synchronized Realm will automatically synchronize the entire Realm in the background while a query-based Realm will only synchronize the data being subscribed to. Synchronized realms are by default query-based unless this boolean is set.
public let fullSynchronization: Bool
The prefix that is prepended to the path in the HTTP request that initiates a sync connection. The value specified must match with the server’s expectation. Changing the value of
urlPrefixshould be matched with a corresponding change of the server’s configuration. If no value is specified here then the default
/realm-syncpath is used.
public let urlPrefix: String?