//okhttp/okhttp3/Protocol/QUIC
QUIC¶
[common]\ QUIC
QUIC (Quick UDP Internet Connection) is a new multiplexed and secure transport atop UDP, designed from the ground up and optimized for HTTP/2 semantics. HTTP/1.1 semantics are layered on HTTP/2.
QUIC is not natively supported by OkHttp, but provided to allow a theoretical interceptor that provides support.
Functions¶
Name | Summary |
---|---|
toString | [common] open override fun toString(): String Returns the string used to identify this protocol for ALPN, like "http/1.1", "spdy/3.1" or "h2". |
Properties¶
Name | Summary |
---|---|
name | [common] val name: String |
ordinal | [common] val ordinal: Int |