ktor-network
Module Contents
alltypes
Module Contents
interface ABoundSocket
interface AConnectedSocket : AWritable
interface AReadable
interface ASocket : DisposableHandle
interface AWritable
interface Acceptable<out S : ASocket> : ASocket
class ActorSelectorManager : SelectorManagerSupport, Closeable, CoroutineScope
interface BoundDatagramSocket : ASocket, ABoundSocket, AReadable, DatagramReadWriteChannel
class ClosedChannelCancellationException
interface Configurable<out T : Configurable<T, Options>, Options : SocketOptions>
interface ConnectedDatagramSocket : ASocket, ABoundSocket, AConnectedSocket, ReadWriteSocket, DatagramReadWriteChannel
class Connection
class Datagram
interface DatagramReadChannel
interface DatagramReadWriteChannel : DatagramReadChannel, DatagramWriteChannel
interface DatagramWriteChannel
class IOCoroutineDispatcher : CoroutineDispatcher
class InterestSuspensionsMap
interface ReadWriteSocket : ASocket, AReadable, AWritable
enum expect class SelectInterest
expect interface Selectable
expect interface SelectorManager : CoroutineScope
abstract class SelectorManagerSupport : SelectorManager
interface ServerSocket : ASocket, ABoundSocket, Acceptable<Socket>
interface Socket : ReadWriteSocket, ABoundSocket, AConnectedSocket
class SocketBuilder : Configurable<SocketBuilder, SocketOptions>
sealed class SocketOptions
class TcpSocketBuilder : Configurable<TcpSocketBuilder, SocketOptions>
inline class TypeOfService
class UDPSocketBuilder : Configurable<UDPSocketBuilder, UDPSocketOptions>
package io.ktor.network.selector
package io.ktor.network.sockets
Module Contents
interface ABoundSocket
interface AConnectedSocket : AWritable
interface AReadable
interface ASocket : DisposableHandle
interface AWritable
interface Acceptable<out S : ASocket> : ASocket
interface BoundDatagramSocket : ASocket, ABoundSocket, AReadable, DatagramReadWriteChannel
interface Configurable<out T : Configurable<T, Options>, Options : SocketOptions>
interface ConnectedDatagramSocket : ASocket, ABoundSocket, AConnectedSocket, ReadWriteSocket, DatagramReadWriteChannel
class Connection
class Datagram
interface DatagramReadChannel
interface DatagramReadWriteChannel : DatagramReadChannel, DatagramWriteChannel
interface DatagramWriteChannel
interface ReadWriteSocket : ASocket, AReadable, AWritable
interface ServerSocket : ASocket, ABoundSocket, Acceptable<Socket>
interface Socket : ReadWriteSocket, ABoundSocket, AConnectedSocket
class SocketBuilder : Configurable<SocketBuilder, SocketOptions>
sealed class SocketOptions
SocketTimeoutException
class TcpSocketBuilder : Configurable<TcpSocketBuilder, SocketOptions>
inline class TypeOfService
class UDPSocketBuilder : Configurable<UDPSocketBuilder, UDPSocketOptions>
fun aSocket(selector: SelectorManager): SocketBuilder
suspend fun ASocket.awaitClosed(): Unit
suspend fun TcpSocketBuilder.connect(remoteAddress: SocketAddress, configure: TCPClientSocketOptions.() -> Unit = {}): Socket
fun Socket.connection(): Connection
val ASocket.isClosed: Boolean
fun AReadable.openReadChannel(): ByteReadChannel
fun AWritable.openWriteChannel(autoFlush: Boolean = false): ByteWriteChannel
fun <T : Configurable<T, *>> T.tcpNoDelay(): T
package io.ktor.network.util