inputProvider

fun MPPFile.inputProvider(): ERROR CLASS: Symbol not found for InputProvider(source)

Creates a Ktor InputProvider from this multiplatform file for use in HTTP client requests. The input provider knows the file size and can create input streams on demand.

Return

An InputProvider for reading this file in HTTP requests