QuicOptions

class QuicOptions


Các lựa chọn về cấu hình cho QUIC trong Cronet.

Các chế độ cài đặt trong lớp này chỉ có liên quan nếu QUIC được bật. Sử dụng enableQuic để bật / tắt QUIC cho công cụ Cronet.

Tóm tắt

Các loại lồng nhau

Trình tạo cho QuicOptions.

Chú thích cho những API chưa được coi là ổn định.

Chú thích cho các API định cấu hình các lựa chọn QUICHE không do Cronet tuyển chọn.

Hàm công khai

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?