AppConfiguration

public extension AppConfiguration
  • Memberwise convenience initializer

    All fields have sensible defaults if not set and typically do not need to be customized.

    Declaration

    Swift

    @_disfavoredOverload
    convenience init(baseURL: String? = nil, transport: RLMNetworkTransport? = nil,
                     defaultRequestTimeoutMS: UInt? = nil, enableSessionMultiplexing: Bool? = nil,
                     syncTimeouts: SyncTimeoutOptions? = nil)

    Parameters

    baseURL

    A custom Atlas App Services URL for when using a non-standard deployment

    transport

    A network transport used for calls to the server.

    defaultRequestTimeoutMS

    The default timeout for non-sync HTTP requests made to the server.

    enableSessionMultiplexing

    Use a single network connection per sync user rather than one per sync Realm.

    syncTimeouts

    Timeout options for sync connections.