All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.io.ktor.client.engine.HttpClientEngineCapability.kt Maven / Gradle / Ivy

/*
* Copyright 2014-2021 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license.
*/

package io.ktor.client.engine

import io.ktor.client.plugins.*
import io.ktor.util.*
import kotlin.native.concurrent.*

/**
 * Key required to access capabilities.
 */
internal val ENGINE_CAPABILITIES_KEY =
    AttributeKey, Any>>("EngineCapabilities")

/**
 * Default capabilities expected to be supported by engine.
 */
public val DEFAULT_CAPABILITIES: Set = setOf(HttpTimeout)

/**
 * Capability required by request to be supported by [HttpClientEngine] with [T] representing type of the capability
 * configuration.
 */
public interface HttpClientEngineCapability




© 2015 - 2025 Weber Informatics LLC | Privacy Policy