HttpServer

class HttpServer(inetAddress: InetSocketAddress)

Functions

Link copied to clipboard
fun addServlet(path: String, servlet: HttpServlet)
Link copied to clipboard
fun getHost(): String
Link copied to clipboard
fun getPaths(): List<String>
Link copied to clipboard
fun isRunning(): Boolean
Link copied to clipboard
fun start()
Link copied to clipboard
fun stop()