ktor
2.2.4
3.0.0
3.0.0-rc-1
3.0.0-beta-2
3.0.0-beta-1
2.3.12
2.2.4
2.0.3
1.6.8
jvmAndNix
ktor-network
/
io.ktor.network.sockets
/
Connection
Connection
jvmAndNix
class
Connection
(
val
socket
:
Socket
,
val
input
:
ByteReadChannel
,
val
output
:
ByteWriteChannel
)
Represents a connected socket with its input and output
Constructors
Properties
Constructors
Connection
Link copied to clipboard
jvmAndNix
fun
Connection
(
socket
:
Socket
,
input
:
ByteReadChannel
,
output
:
ByteWriteChannel
)
Properties
input
Link copied to clipboard
jvmAndNix
val
input
:
ByteReadChannel
output
Link copied to clipboard
jvmAndNix
val
output
:
ByteWriteChannel
socket
Link copied to clipboard
jvmAndNix
val
socket
:
Socket