toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-core
/
korlibs.io.net.http
/
HttpServerRouter
Http
Server
Router
class
HttpServerRouter
(
val
server
:
HttpServer
)
Members
Constructors
Http
Server
Router
Link copied to clipboard
constructor
(
server
:
HttpServer
)
Types
Rule
Link copied to clipboard
class
Rule
(
val
path
:
String
,
val
handler
:
HttpServerRequestHandler
)
Properties
server
Link copied to clipboard
val
server
:
HttpServer
Functions
handle
Link copied to clipboard
suspend
fun
handle
(
request
:
HttpServer.Request
)
handler
Link copied to clipboard
fun
handler
(
path
:
String
,
handler
:
HttpServerRequestHandler
)
prehook
Link copied to clipboard
fun
prehook
(
handler
:
HttpServerRequestHandler
)
static
Link copied to clipboard
fun
static
(
path
:
String
,
vfs
:
VfsFile
)