api / org.gradle.plugins.javascript.envjs.http.simple / SimpleHttpFileServer

SimpleHttpFileServer

open class SimpleHttpFileServer : HttpFileServer

Constructors

<init>

SimpleHttpFileServer(contentRoot: File, port: Int, stopper: Stoppable)

Functions

getContentRoot

open fun getContentRoot(): File

getPort

open fun getPort(): Int

getResourceUrl

open fun getResourceUrl(path: String): String

stop

open fun stop(): Unit