VarioqubConfig

public struct VarioqubConfig

Configuration for Varioqub.

This structure contains the configuration for Varioqub. Leave properties as nil to use Varioqub defaults.

  • The URL for Varioqub. Used for testing purposes.

    Declaration

    Swift

    public var baseURL: URL?
  • Custom settings adapter to store Varioqub data persistently.

    See details: VarioqubSettingsProtocol.

    Declaration

    Swift

    public var settings: VarioqubSettingsProtocol?
  • A custom network creator.

    Use this option to implement if you want to use custom network stack.

    Declaration

    Swift

    public var network: NetworkRequestCreator?
  • Sets an interval for fetch requests. Default is 43200.

    Declaration

    Swift

    public var fetchThrottle: TimeInterval?
  • The client features which represent addtional key-value data that you can attach to Varioqub requests used for experiment filtering.

    Declaration

    Swift

    public var initialClientFeatures: ClientFeatures
  • The working queue for Varioqub.

    Declaration

    Swift

    public var varioqubQueue: DispatchQueue?
  • The queue for Varioqub callbacks.

    Declaration

    Swift

    public var outputQueue: DispatchQueue
  • Returns the default configuration for Varioqub.

    Declaration

    Swift

    public static var `default`: VarioqubConfig