ConfigFetcherAnswer
public enum ConfigFetcherAnswer
The enum that represents the fetch result.
-
Varioqub config is fetched successfully.
Declaration
Swift
case success
-
Varioqub doesn’t sent the request due to the timeout from previous request that is too small.
Sets up the
fetchThrottle
throttle.Declaration
Swift
case throttled
-
Varioqub performed a request but nothing was changed.
Declaration
Swift
case cached
-
Varioqub performed a request but it failed.
See error details:
ConfigFetcherError
.Declaration
Swift
case error(ConfigFetcherError)
-
Returns true if the request is
success
.Declaration
Swift
public var isSuccess: Bool { get }
-
Returns true if the request is
throttled
.Declaration
Swift
public var isThrottled: Bool { get }
-
Returns true if the request is
cached
.Declaration
Swift
public var isCached: Bool { get }
-
Returns true if the request is
error(_:)
.Declaration
Swift
public var isError: Bool { get }