Skip to content

//okhttp/okhttp3/Protocol/HTTP_3

HTTP_3

[common]\ HTTP_3

HTTP/3 is the third and upcoming major version of the Hypertext Transfer Protocol used to exchange information. HTTP/3 runs over QUIC, which is published as RFC 9000.

HTTP/3 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