toggle menu
ktor
3.0.2
3.0.2
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
jvmAndPosix
switch theme
search in API
ktor-network
/
io.ktor.network.sockets
/
Connection
Connection
jvmAndPosix
class
Connection
(
val
socket
:
Socket
,
val
input
:
ByteReadChannel
,
val
output
:
ByteWriteChannel
)
Represents a connected socket with its input and output
Members
Constructors
Connection
Link copied to clipboard
jvmAndPosix
constructor
(
socket
:
Socket
,
input
:
ByteReadChannel
,
output
:
ByteWriteChannel
)
Properties
input
Link copied to clipboard
jvmAndPosix
val
input
:
ByteReadChannel
output
Link copied to clipboard
jvmAndPosix
val
output
:
ByteWriteChannel
socket
Link copied to clipboard
jvmAndPosix
val
socket
:
Socket