NetworkEngine

NetworkEngine

sealed interface NetworkEngine

The network engine used to make network requests supported by the Player.

Inheritors

HttpURLConnection
Companion
Cronet

Types

NameSummary
Cronetdata class Cronet(val cronetEngine: CronetEngine) : NetworkEngine
Specify a Cronet engine to support HTTP/2 (and HTTP/3 over QUIC if enabled).
HttpURLConnectiondata class HttpURLConnection(val allowCrossProtocolRedirects: Boolean = false) : NetworkEngine
Android built-in HTTP network engine. It is always available but doesn't support HTTP/2.