QuicOptions
open class QuicOptions
kotlin.Any | |
↳ | android.net.http.QuicOptions |
Configuration options for QUIC.
The settings in this class are only relevant if QUIC is enabled. Use HttpEngine.Builder#setEnableQuic(boolean)
to enable / disable QUIC for the HTTP engine.
Summary
Nested classes | |
---|---|
Builder for |
Public methods | |
---|---|
open MutableSet<String!> | |
open String? | |
open Duration? | |
open Int | |
open Boolean |
Public methods
getAllowedQuicHosts
open fun getAllowedQuicHosts(): MutableSet<String!>
See Builder#addAllowedQuicHost
Return | |
---|---|
MutableSet<String!> |
This value cannot be null . |
getHandshakeUserAgent
open fun getHandshakeUserAgent(): String?
See Builder#setHandshakeUserAgent
Return | |
---|---|
String? |
This value may be null . |
getIdleConnectionTimeout
open fun getIdleConnectionTimeout(): Duration?
See Builder#setIdleConnectionTimeout
Return | |
---|---|
Duration? |
This value may be null . |
getInMemoryServerConfigsCacheSize
open fun getInMemoryServerConfigsCacheSize(): Int
hasInMemoryServerConfigsCacheSize
open fun hasInMemoryServerConfigsCacheSize(): Boolean