WebServerOptions

data class WebServerOptions(val port: Int, val targetFile: File, val browserLauncher: BrowserLauncher?)

Options for the local web server.

Parameters

port

port to start the server on

targetFile

file to serve

browserLauncher

strategy to open the served file in the browser. If null, the file will not be opened.

Constructors

Link copied to clipboard
constructor(port: Int, targetFile: File, browserLauncher: BrowserLauncher?)

Properties

Link copied to clipboard
Link copied to clipboard
val port: Int
Link copied to clipboard