ClientConfiguration
public struct ClientConfiguration
ClientConfiguration parameters for a client instance
-
Undocumented
Declaration
Swift
public struct ClientConfiguration -
Whether or not to use the preview mode when accessing Contentful, requires a preview token
Declaration
Swift
public var previewMode = false -
Whether or not to automatically rate limit requests, defaults to
falseDeclaration
Swift
public var rateLimiting = false -
Whether or not to use HTTPS connections, defaults to
trueDeclaration
Swift
public var secure = true -
The server to use for performing requests, defaults to
cdn.contentful.comDeclaration
Swift
public var server = Defaults.cdaHost -
The user agent to use for performing requests
Declaration
Swift
public var userAgentClient = "contentful.swift/0.4.0-beta1" -
Computed version of the user agent, including OS name and version
Declaration
Swift
public var userAgent: String
View on GitHub
ClientConfiguration Struct Reference