Package io.ktor.network.util

Types

Link copied to clipboard
class IOCoroutineDispatcher(nThreads: Int) : CoroutineDispatcher, Closeable

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

Link copied to clipboard
sealed class SocketAddress

Represents pair of network ip and port.

Functions

Link copied to clipboard
fun NetworkAddress.resolve(): List<SocketAddress>

Properties

Link copied to clipboard
val NetworkAddress.address: SocketAddress
Link copied to clipboard
val DefaultByteBufferPool: ObjectPool<ByteBuffer>

Byte buffer pool for general-purpose buffers.

Link copied to clipboard
val DefaultDatagramByteBufferPool: ObjectPool<ByteBuffer>

Byte buffer pool for UDP datagrams

Link copied to clipboard
val ioCoroutineDispatcher: CoroutineDispatcher

The default I/O coroutine dispatcher

Link copied to clipboard
val ioThreadGroup: ThreadGroup