respondFile
suspend fun ApplicationCall.respondFile(baseDir: File, fileName: String, configure: OutgoingContent.() -> Unit = {})
Content copied to clipboard
Responds to a client with a contents of a file with the name fileName in the baseDir folder
suspend fun ApplicationCall.respondFile(file: File, configure: OutgoingContent.() -> Unit = {})
Content copied to clipboard
Responds to a client with a contents of a file