okhttp / okhttp3 / Protocol / QUIC

QUIC

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.

Inherited Functions

toString

fun toString(): String

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