As per the issue #437 the HTTP client and subsequently the requests we perform are hidden behind package interfaces that a client cannot influence, they cannot create interceptors etc.
Solution
Expose the HttpClient, NetworkRequest and NetworkResponse and allow clients to supply their own implementations through the DownloadManagerBuilder.withCustomHttpClient. All exposed classes have had javadocs added.
Problem
As per the issue #437 the HTTP client and subsequently the requests we perform are hidden behind package interfaces that a client cannot influence, they cannot create interceptors etc.
Solution
Expose the
HttpClient
,NetworkRequest
andNetworkResponse
and allow clients to supply their own implementations through theDownloadManagerBuilder.withCustomHttpClient
. All exposed classes have had javadocs added.