← Back to Documentation Home

PROTOCOL

HttpClientProtocol

public protocol HttpClientProtocol

Protocol for HTTP client operations

Properties

hasCacheBypass

var hasCacheBypass: Bool

Methods

requestExperiments()

func requestExperiments() async throws -> ApiResponse

track(_:value:details:)

func track(_ event: String, value: Double?, details: [String: Any]?) async throws

trackWithQueryParams(_:)

func trackWithQueryParams(_ params: [String: String]) async throws