createHttpDataSource

open fun createHttpDataSource(requestProperties: Map<String, String>): HttpDataSource

Creates new instance of the HttpDataSource.

Return

the newly created HTTP data source.

Parameters

requestProperties

a map of HTTP header names and values to be added to the request.


open fun createHttpDataSource(): HttpDataSource

Creates new instance of the HttpDataSource.

Return

the newly created HTTP data source.