RemoteSettingsConfig
public struct RemoteSettingsConfig
extension RemoteSettingsConfig: Sendable
extension RemoteSettingsConfig: Equatable, Hashable
Custom configuration for the client. Currently includes the following:
server: The Remote Settings server to use. If not specified, defaults to the production server (RemoteSettingsServer::Prod).server_url: An optional custom Remote Settings server URL. Deprecated; please useserverinstead.bucket_name: The optional name of the bucket containing the collection on the server. If not specified, the standard bucket will be used.collection_name: The name of the collection for the settings server.
-
Declaration
Swift
public var collectionName: String -
Declaration
Swift
public var bucketName: String? -
Declaration
Swift
public var serverUrl: String? -
Declaration
Swift
public var server: RemoteSettingsServer? -
Declaration
Swift
public init(collectionName: String, bucketName: String? = nil, serverUrl: String? = nil, server: RemoteSettingsServer? = nil) -
Declaration
Swift
public static func == (lhs: RemoteSettingsConfig, rhs: RemoteSettingsConfig) -> Bool -
Declaration
Swift
public func hash(into hasher: inout Hasher)