InputFile

interface InputFile(source)

一个可以向 Ktor 表单请求中输入的文件信息。

Tip: Create InputFile via static methods in InputFiles on JVM.

Author

ForteScarlet

Functions

Link copied to clipboard
abstract fun includeTo(key: String, headers: Headers = Headers.Empty, formBuilder: FormBuilder)

Include this file to FormBuilder.

Link copied to clipboard
abstract fun toFormPart(key: String, headers: Headers = Headers.Empty): FormPart<*>

To a FormPart.