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.

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

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.

ObjectPool

interface ObjectPool<T : Any> : Closeable

Output

expect interface Output : Appendable, Closeable

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