StreamingSourceProvider.kt
TLDR
This file contains the definition of the StreamingSourceProvider
interface, which is responsible for opening Source
instances.
Methods
openStreamingSource
This method returns a BufferedSource
instance.
END
package shark
import okio.BufferedSource
import okio.Source
/**
* Can open [Source] instances.
*/
fun interface StreamingSourceProvider {
fun openStreamingSource(): BufferedSource
}