CuratedRecommendationsConfig
public struct CuratedRecommendationsConfig : Equatable, Hashable, Codable
extension CuratedRecommendationsConfig: Sendable
Configuration options for initializing a CuratedRecommendationsClient.
-
Optional custom base host URL. Defaults to the production Merino service if
None.Declaration
Swift
public var baseHost: String? -
The
User-Agentheader value to send with API requests.Declaration
Swift
public var userAgentHeader: String -
Declaration
Swift
public init( /** * Optional custom base host URL. Defaults to the production Merino service if `None`. */baseHost: String?, /** * The `User-Agent` header value to send with API requests. */userAgentHeader: String)