QuicOptions

class QuicOptions


Cronet 中 QUIC 的配置选项。

只有在启用 QUIC 的情况下,此类中的设置才相关。使用 enableQuic 为 Cronet 引擎启用 / 停用 QUIC。

摘要

嵌套类型

QuicOptions 的构建器。

用于尚未被视为稳定的 API 的注释。

用于配置 Cronet 未整理的 QUICHE 选项的 API 的注释。

公共函数

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?