Ktor
Toggle table of contents
3.3.x
Select version
3.4.x
3.3.x
3.2.x
3.1.x
3.0.x
2.3.x
2.2.x
2.0.x
1.6.x
common
Target filter
common
Switch theme
Search in API
Skip to content
Ktor
ktor-network
/
io.ktor.network.sockets
/
Connection
Connection
class
Connection
(
val
socket
:
Socket
,
val
input
:
ByteReadChannel
,
val
output
:
ByteWriteChannel
)
(
source
)
Represents a connected socket with its input and output
Report a problem
Members
Constructors
Connection
Link copied to clipboard
constructor
(
socket
:
Socket
,
input
:
ByteReadChannel
,
output
:
ByteWriteChannel
)
Properties
input
Link copied to clipboard
val
input
:
ByteReadChannel
output
Link copied to clipboard
val
output
:
ByteWriteChannel
socket
Link copied to clipboard
val
socket
:
Socket