HttpProtocolVersion

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

Represents an HTTP protocol version.

Constructors

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

Types

Link copied to clipboard
object Companion

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".

Functions

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