Package io.ktor.network.util

Types

IOCoroutineDispatcher
Link copied to clipboard
class IOCoroutineDispatcher(nThreads: Int) : CoroutineDispatcher, Closeable
Default ktor fixed size dispatcher for doing non-blocking I/O operations and selection
SocketAddress
Link copied to clipboard
posix
sealed class SocketAddress
Represents pair of network ip and port.

Functions

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

Properties

address
Link copied to clipboard
posix
val NetworkAddress.address: SocketAddress
DefaultByteBufferPool
Link copied to clipboard
val DefaultByteBufferPool: ObjectPool<ByteBuffer>
Byte buffer pool for general-purpose buffers.
DefaultDatagramByteBufferPool
Link copied to clipboard
val DefaultDatagramByteBufferPool: ObjectPool<ByteBuffer>
Byte buffer pool for UDP datagrams
ioCoroutineDispatcher
Link copied to clipboard
val ioCoroutineDispatcher: CoroutineDispatcher
The default I/O coroutine dispatcher
ioThreadGroup
Link copied to clipboard
val ioThreadGroup: ThreadGroup