ContentstackConfig

public struct ContentstackConfig

Undocumented

  • The singleton instance of ‘ContentstackConfig’.

    Declaration

    Swift

    public static let `default`: ContentstackConfig
  • Initialize ‘ContentstackConfig’ default values.

    Declaration

    Swift

    public init()
  • 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 decode Date instances. The SDK will use a TimeZone with 0 seconds offset from GMT if this configuration is omitted.

    Declaration

    Swift

    public var timeZone: TimeZone?
  • The configuration for the URLSession. Note that HTTP headers will be overwritten internally by the SDK so that requests can be authorized correctly.

    Declaration

    Swift

    public var sessionConfiguration: URLSessionConfiguration