ktor
2.0.3
3.0.3
3.0.2
3.0.0
2.3.12
2.2.4
2.0.3
1.6.8
jvm
ktor-server-core
/
io.ktor.server.http.content
/
file
file
jvm
fun
Route
.
file
(
remotePath
:
String
,
localPath
:
String
=
remotePath
)
Content copied to clipboard
fun
Route
.
file
(
remotePath
:
String
,
localPath
:
File
)
Content copied to clipboard
Sets up routing to serve
localPath
file as
remotePath