handleRequest

suspend fun handleRequest(call: ApplicationCall, port: Int)

Handles a request to the live preview endpoint, by serving the requested file or a wrapper HTML for live preview.

Parameters

call

the application call

port

the port the server is running on