ktor
2.3.3
3.0.0-beta-1
2.3.8
2.3.7
2.3.6
2.3.3
2.3.2
2.3.1
2.3.0
2.2.4
2.0.3
1.6.8
jvm
ktor-client-core
/
io.ktor.client.content
/
LocalFileContent
/
LocalFileContent
Local
File
Content
jvm
fun
LocalFileContent
(
file
:
File
,
contentType
:
ContentType
=
ContentType.defaultForFile(file)
)
Parameters
file
specifies the File to be served to a client