ClientConfiguration
public struct ClientConfiguration
ClientConfiguration parameters for a Client
instance.
-
An instance of
ClientConfiguration
with sane defaults. This is a singleton instance.Declaration
Swift
public static let `default`: ClientConfiguration
-
Initializes a
ClientConfiguration
with default valuesDeclaration
Swift
public init()
-
Whether or not to use HTTPS connections; defaults to
true
.Declaration
Swift
public var secure: Bool
-
An optional configuration to override the date decoding strategy that is provided by the the SDK.
Declaration
Swift
public var dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?
-
An optional configuration to override the
TimeZone
the SDK will use to decodeDate
instances. The SDK will use aTimeZone
with 0 seconds offset from GMT if this configuration is omitted.Declaration
Swift
public var timeZone: TimeZone?