###
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
###
krch
/
org.danbrough.krch.socket
/
KSocket
KSocket
class
KSocket
(
val
scope
:
CoroutineScope
,
val
host
:
String
,
val
port
:
Int
)
Members
Constructors
KSocket
Link copied to clipboard
constructor
(
scope
:
CoroutineScope
,
host
:
String
,
port
:
Int
)
Types
Implementation
Link copied to clipboard
abstract
class
Implementation
State
Link copied to clipboard
sealed
class
State
Properties
host
Link copied to clipboard
val
host
:
String
lines
Link copied to clipboard
val
lines
:
Flow
<
String
>
port
Link copied to clipboard
val
port
:
Int
running
Link copied to clipboard
var
running
:
Boolean
scope
Link copied to clipboard
val
scope
:
CoroutineScope
state
Link copied to clipboard
val
state
:
StateFlow
<
KSocket.State
>