HttpProtocolVersion

data class HttpProtocolVersion(val name: String, val major: Int, val minor: Int)

Represents an HTTP protocol version.

Constructors

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

Types

Link copied to clipboard
object Companion

Functions

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

Properties

Link copied to clipboard
val major: Int

specifies protocol major version.

Link copied to clipboard
val minor: Int

specifies protocol minor version.

Link copied to clipboard

specifies name of the protocol, e.g. "HTTP".