کوئیک‌آپشن

public final class QuicOptions


گزینه‌های پیکربندی برای QUIC در Cronet.

تنظیمات این کلاس فقط در صورتی مرتبط هستند که QUIC فعال باشد. enableQuic برای فعال/غیرفعال کردن QUIC برای موتور Cronet استفاده کنید.

خلاصه

انواع تو در تو

public class QuicOptions.Builder

سازنده برای QuicOptions )

حاشیه‌نویسی برای APIهایی که هنوز پایدار در نظر گرفته نشده‌اند.

حاشیه‌نویسی برای APIهایی که گزینه‌های QUICHE را پیکربندی می‌کنند که توسط Cronet تنظیم نشده‌اند.

روش‌های عمومی

سازنده

public static QuicOptions.Builder builder()

گزینه‌های اتصال کلاینت

public Set<StringgetClientConnectionOptions()

تغییر در نشست‌های دریافت‌شده (getCloseSessionsOnIpChange)

public @Nullable Boolean getCloseSessionsOnIpChange()

گزینه‌های اتصال را دریافت کنید

public Set<StringgetConnectionOptions()

دریافتCryptoHandshakeTimeoutSeconds

public @Nullable Long getCryptoHandshakeTimeoutSeconds()

getDelayJobsWithAvailableSpdySession

public @Nullable Boolean getDelayJobsWithAvailableSpdySession()

دریافت فعال‌سازیTlsZeroRtt

public @Nullable Boolean getEnableTlsZeroRtt()

getEnabledQuicVersions

public Set<StringgetEnabledQuicVersions()

پرچم‌های دریافت‌شده

public Set<StringgetExtraQuicheFlags()

getGoawaySessionsOnIpChange

public @Nullable Boolean getGoawaySessionsOnIpChange()

getHandshakeUserAgent

public @Nullable String getHandshakeUserAgent()

تابع getIdleConnectionTimeoutSeconds

public @Nullable Long getIdleConnectionTimeoutSeconds()

getInMemoryServerConfigsCacheSize

public @Nullable Integer getInMemoryServerConfigsCacheSize()

getIncreaseBrokenServicePeriod به صورت نمایی

public @Nullable Boolean getIncreaseBrokenServicePeriodExponentially()

getInitialBrokenServicePeriodSeconds

public @Nullable Long getInitialBrokenServicePeriodSeconds()

getPreCryptoHandshakeIdleTimeoutSeconds

public @Nullable Long getPreCryptoHandshakeIdleTimeoutSeconds()

لیست مجاز میزبان‌های دریافت‌کننده

public Set<StringgetQuicHostAllowlist()

getRetransmittableOnWireTimeoutMillis

public @Nullable Long getRetransmittableOnWireTimeoutMillis()

getRetryWithoutAltSvcOnQuicErrors

public @Nullable Boolean getRetryWithoutAltSvcOnQuicErrors()