toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-core
/
korlibs.io.net
/
AsyncServer
Async
Server
interface
AsyncServer
:
AsyncCloseable
Inheritors
NativeAsyncServer
JvmNioAsyncServer
JvmAsyncServer
Members
Types
Companion
Link copied to clipboard
object
Companion
Properties
backlog
Link copied to clipboard
abstract
val
backlog
:
Int
host
Link copied to clipboard
abstract
val
host
:
String
port
Link copied to clipboard
abstract
val
port
:
Int
request
Port
Link copied to clipboard
abstract
val
requestPort
:
Int
Functions
accept
Link copied to clipboard
abstract
suspend
fun
accept
(
)
:
AsyncClient
close
Link copied to clipboard
open
suspend override
fun
close
(
)
listen
Link copied to clipboard
open
suspend
fun
listen
(
handler
:
suspend
(
AsyncClient
)
->
Unit
)
:
Closeable
listen
Flow
Link copied to clipboard
open
suspend
fun
listenFlow
(
)
:
Flow
<
AsyncClient
>