QuicOptions

class QuicOptions


Configuration options for QUIC in Cronet.

The settings in this class are only relevant if QUIC is enabled. Use enableQuic to enable / disable QUIC for the Cronet engine.

Summary

Nested types

Builder for QuicOptions.

An annotation for APIs which are not considered stable yet.

An annotation for APIs which configure QUICHE options not curated by Cronet.

Public functions

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?