QuicOptions

class QuicOptions


Cronet 中 QUIC 的設定選項。

只有在啟用 QUIC 時,這個類別中的設定才適用。使用 enableQuic 啟用 / 停用 Cronet 引擎的 QUIC。

摘要

巢狀型別

QuicOptions 的建構工具。

API 的註解,表示 API 尚未穩定。

API 的註解,用於設定 Cronet 未管理的 QUICHE 選項。

公開函式

builder

java-static fun builder(): QuicOptions.Builder!

getClientConnectionOptions

fun getClientConnectionOptions(): (Mutable)Set<String!>!

getCloseSessionsOnIpChange

fun getCloseSessionsOnIpChange(): Boolean?

getConnectionOptions

fun getConnectionOptions(): (Mutable)Set<String!>!

getCryptoHandshakeTimeoutSeconds

fun getCryptoHandshakeTimeoutSeconds(): Long?

getDelayJobsWithAvailableSpdySession

fun getDelayJobsWithAvailableSpdySession(): Boolean?

getEnableTlsZeroRtt

fun getEnableTlsZeroRtt(): Boolean?

getEnabledQuicVersions

fun getEnabledQuicVersions(): (Mutable)Set<String!>!

getExtraQuicheFlags

fun getExtraQuicheFlags(): (Mutable)Set<String!>!

getGoawaySessionsOnIpChange

fun getGoawaySessionsOnIpChange(): Boolean?

getHandshakeUserAgent

fun getHandshakeUserAgent(): String?

getIdleConnectionTimeoutSeconds

fun getIdleConnectionTimeoutSeconds(): Long?

getInMemoryServerConfigsCacheSize

fun getInMemoryServerConfigsCacheSize(): Int?

getIncreaseBrokenServicePeriodExponentially

fun getIncreaseBrokenServicePeriodExponentially(): Boolean?

getInitialBrokenServicePeriodSeconds

fun getInitialBrokenServicePeriodSeconds(): Long?

getPreCryptoHandshakeIdleTimeoutSeconds

fun getPreCryptoHandshakeIdleTimeoutSeconds(): Long?

getQuicHostAllowlist

fun getQuicHostAllowlist(): (Mutable)Set<String!>!

getRetransmittableOnWireTimeoutMillis

fun getRetransmittableOnWireTimeoutMillis(): Long?

getRetryWithoutAltSvcOnQuicErrors

fun getRetryWithoutAltSvcOnQuicErrors(): Boolean?