QuicOptions

class QuicOptions


Opções de configuração do QUIC no Cronet.

As configurações nessa classe só são relevantes se o QUIC estiver ativado. Use enableQuic para ativar / desativar o QUIC para o mecanismo do Cronet.

Resumo

Tipos aninhados

Builder para a classe QuicOptions.

Uma anotação para APIs que ainda não são consideradas estáveis.

Uma anotação para APIs que configuram opções do QUICHE não selecionadas pelo Cronet.

Funções públicas

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?