respondPath

suspend fun <Error class: unknown class>.respondPath(baseDir: Path, relativePath: Path, configure: OutgoingContent.() -> Unit = {})

Responds to a client with a contents of a path designated by relativePath in the baseDir folder


suspend fun <Error class: unknown class>.respondPath(path: Path, configure: OutgoingContent.() -> Unit = {})

Responds to a client with a contents of a path