toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-core
/
korlibs.io.net.http
/
HttpServer
/
listen
listen
suspend
fun
listen
(
port
:
Int
=
0
,
host
:
String
=
"127.0.0.1"
)
:
HttpServer
suspend
fun
listen
(
port
:
Int
=
0
,
host
:
String
=
"127.0.0.1"
,
handler
:
suspend
(
HttpServer.Request
)
->
Unit
)
:
HttpServer