service / com.scurab.android.uitor.service / KtorServer

KtorServer

class KtorServer

Default implementation of Web server

Constructors

<init>

Default implementation of Web server

KtorServer(context: Context)

Properties

isRunning

val isRunning: Boolean

port

var port: Int?

Functions

start

Start web server root root folder of the web server port port to start the webserver on, default is 8080

fun start(root: String, port: Int = 8080): Unit

stop

fun stop(): Unit