Closeable

expect interface Closeable

Functions

close

abstract fun close(): Unit

Inheritors

CookiesStorage

interface CookiesStorage : Closeable

Storage for Cookie.

HttpClient

class HttpClient : CoroutineScope, Closeable

Asynchronous client to perform HTTP requests.

HttpClientCall

open class HttpClientCall : CoroutineScope, Closeable

A class that represents a single pair of request and response for a specific HttpClient.

HttpClientEngine

interface HttpClientEngine : CoroutineScope, Closeable

Base interface use to define engines for HttpClient.

HttpCookies

class HttpCookies : Closeable

HttpClient feature that handles sent Cookie, and received Set-Cookie headers, using a specific storage for storing and retrieving cookies.

HttpMessage

abstract class HttpMessage : Closeable

Represents a base HTTP message type for request and response

HttpResponse

abstract class HttpResponse : 
    HttpMessage,
    CoroutineScope,
    Closeable

A response for HttpClient, second part of HttpClientCall.

IOCoroutineDispatcher

class IOCoroutineDispatcher : CoroutineDispatcher, Closeable

Default ktor fixed size dispatcher for doing non-blocking I/O operations and selection

Input

expect interface Input : Closeable

Usually shouldn’t be implemented directly. Inherit AbstractInput instead.

Lock

expect class Lock : Closeable

ObjectPool

interface ObjectPool<T : Any> : Closeable

Output

expect interface Output : Appendable, Closeable

This shouldn’t be implemented directly. Inherit AbstractOutput instead.