Companion

object Companion

Functions

Link copied to clipboard
fun fromValue(name: String, major: Int, minor: Int): HttpProtocolVersion

Creates an instance of HttpProtocolVersion from the given parameters.

Link copied to clipboard
fun parse(value: CharSequence): HttpProtocolVersion

Create an instance of HttpProtocolVersion from http string representation.

Properties

Link copied to clipboard
val HTTP_1_0: HttpProtocolVersion

HTTP/1.0 version.

Link copied to clipboard
val HTTP_1_1: HttpProtocolVersion

HTTP/1.1 version.

Link copied to clipboard
val HTTP_2_0: HttpProtocolVersion

HTTP/2.0 version.

Link copied to clipboard
val QUIC: HttpProtocolVersion

QUIC/1.0 version.

Link copied to clipboard
val SPDY_3: HttpProtocolVersion

SPDY/3.0 version.