HttpProtocol

Supported HTTP protocols.

Entries

Link copied to clipboard

HTTP.

Link copied to clipboard

HTTPS.

Link copied to clipboard

HTTP/2.

Link copied to clipboard

HTTP/2 clear text.

Functions

Link copied to clipboard
fun valueOf(value: String): HttpProtocol

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard
fun values(): Array<HttpProtocol>

Returns an array containing the constants of this enum type, in the order they're declared.

Properties

Link copied to clipboard
val name: String
Link copied to clipboard
val ordinal: Int
Link copied to clipboard
val schema: String