HttpServerRouter

class HttpServerRouter(val server: HttpServer)

Constructors

Link copied to clipboard
constructor(server: HttpServer)

Types

Link copied to clipboard
class Rule(val path: String, val handler: HttpServerRequestHandler)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
suspend fun handle(request: HttpServer.Request)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun static(path: String, vfs: VfsFile)