respondFile

suspend fun <Error class: unknown class>.respondFile(baseDir: File, fileName: String, configure: OutgoingContent.() -> Unit = {})

Responds to a client with a contents of a file with the name fileName in the baseDir folder


suspend fun <Error class: unknown class>.respondFile(file: File, configure: OutgoingContent.() -> Unit = {})

Responds to a client with a contents of a file