HttpMethod

enum HttpMethod : Enum<HttpMethod>

Supported HTTP methods.

Entries

Link copied to clipboard

HTTP GET method.

Link copied to clipboard

HTTP HEAD method.

Link copied to clipboard

HTTP POST method.

Link copied to clipboard

HTTP PUT method.

Link copied to clipboard

HTTP DELETE method.

Link copied to clipboard

HTTP TRACE method.

Link copied to clipboard

HTTP OPTIONS method.

Link copied to clipboard

HTTP PATCH method.

Types

Link copied to clipboard
object Companion

Functions

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

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<HttpMethod>

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