ktor
Toggle table of contents
3.1.0
Select version
3.1.0
3.0.3
3.0.2
3.0.0
2.3.12
2.2.4
2.0.3
1.6.8
common
Platform filter
common
Switch theme
Search in API
ktor
ktor-network
/
io.ktor.network.sockets
/
Connection
Connection
class
Connection
(
val
socket
:
Socket
,
val
input
:
ByteReadChannel
,
val
output
:
ByteWriteChannel
)
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