EngineEntry
class EngineEntry(val factory: EngineFactory, val priority: Double = 1.0) : HttpClientEngineContainer(source)
An entry in the engines registry that pairs an engine factory with its priority.
Properties
Link copied to clipboard
the engine factory
Link copied to clipboard
determines selection order when io.ktor.client.HttpClient is called with no explicit engine. Higher values are preferred. When multiple factories share the same highest priority an exception is thrown; assign distinct priorities to avoid ambiguity.