ktor-network / io.ktor.network.sockets / Connection

Connection

class Connection

Represents a connected socket with its input and output

Constructors

<init>

Connection(socket: Socket, input: ByteReadChannel, output: ByteWriteChannel)

Represents a connected socket with its input and output

Properties

input

val input: ByteReadChannel

output

val output: ByteWriteChannel

socket

val socket: Socket