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.

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun toString(): String

Returns the string used to identify this protocol for ALPN, like "http/1.1", "spdy/3.1" or "h2".