NetworkAwareCallFactory

class NetworkAwareCallFactory(delegate: Call.Factory, defaultRequestType: RequestType) : Call.Factory

Call.Factory wrapper that sets of known Request.requestType that a shared NetworkSelectingCallFactory can make network decisions and bring up high bandwidth networks based on the request type.

Constructors

Link copied to clipboard
constructor(delegate: Call.Factory, defaultRequestType: RequestType)

Functions

Link copied to clipboard
open override fun newCall(request: Request): Call