Factory

class Factory(upstream: HttpDataSource.Factory = DefaultHttpDataSource.Factory()) : DataSource.Factory

Creates a new instance of MuxDataSource. The upstream data source will be invoked for any data that Mux's cache cannot provide

Constructors

Link copied to clipboard
constructor(upstream: HttpDataSource.Factory = DefaultHttpDataSource.Factory())

Functions

Link copied to clipboard
open override fun createDataSource(): DataSource