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 QuicOptions.

Public methods
open MutableSet<String!>

See Builder.addAllowedQuicHost

open String?

See Builder.setHandshakeUserAgent

open Duration?

See Builder.setIdleConnectionTimeout

open Int

See Builder.setInMemoryServerConfigsCacheSize

open Boolean

See Builder.setInMemoryServerConfigsCacheSize

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

See Builder.setInMemoryServerConfigsCacheSize

hasInMemoryServerConfigsCacheSize

open fun hasInMemoryServerConfigsCacheSize(): Boolean

See Builder.setInMemoryServerConfigsCacheSize