Package-level declarations

Types

Link copied to clipboard
enum AlpnId : Enum<AlpnId>

Common ALPN identifiers See the IANA registry

Link copied to clipboard

An HttpClientEngine with Closeable resources. Users SHOULD call close when done with the engine to ensure any held resources are properly released.

Link copied to clipboard

Common attributes related to HTTP engines.

Link copied to clipboard

Functionality a real HTTP client must provide.

Link copied to clipboard

Base class that SDK HttpClientEngines SHOULD inherit from rather than implementing directly. This class's CoroutineContext will include SupervisorJob because the failure of individual requests should not affect other requests or the overall engine.

Link copied to clipboard
class HttpClientEngineClosedException(val cause: Throwable? = null)

Indicates an HttpClientEngine is closed already and no further requests should be initiated.

Link copied to clipboard

Common configuration options to be interpreted by an underlying engine

Link copied to clipboard
sealed class ProxyConfig

A proxy configuration

Link copied to clipboard
fun interface ProxySelector

Selects the proxy to use for a given Url. Implementations MUST be stable and return the same ProxyConfig for a given Url.

Link copied to clipboard

Defines values related to TLS and secure connections.

Functions

Link copied to clipboard
suspend fun callContext(): <Error class: unknown class>

Pull the context that has the associated Job for the request out of the context. HttpClientEngine implementations MUST use this as the context for aws.smithy.kotlin.runtime.http.response.HttpCall.callContext Any request scoped resources or cleanup should be tied to the Job instance of this context.