ClientConfigurationService

public final class ClientConfigurationService : ClientConfigurationServiceProtocol

A service responsible for fetching configuration settings.

This service implements the ClientConfigurationServiceProtocol and provides methods to retrieve configuration data from a specified API domain.

  • Fetches configuration settings.

    This method initiates the process of fetching configuration settings by utilizing the provided session manager to handle the network request.

    Declaration

    Swift

    public func fetchConfigurations(completion: @escaping CompletionResult<ClientConfiguration>)

    Parameters

    completion

    A closure to be called upon completion of the fetch operation. The closure takes a CompletionResult<Configuration> as its parameter.

  • The API domain to be used for fetching configurations.

    Declaration

    Swift

    public var apiDomain: APIDomain