NetworkEngine
sealed interface NetworkEngine
The network engine used to make network requests supported by the Player.
Inheritors
| HttpURLConnection |
| Companion |
| Cronet |
Types
| Name | Summary |
|---|---|
| Cronet | data class Cronet(val cronetEngine: CronetEngine) : NetworkEngine Specify a Cronet engine to support HTTP/2 (and HTTP/3 over QUIC if enabled). |
| HttpURLConnection | data class HttpURLConnection(val allowCrossProtocolRedirects: Boolean = false) : NetworkEngine Android built-in HTTP network engine. It is always available but doesn't support HTTP/2. |