Skip to content

HttpMethod

//fluxbase-kotlin/io.github.nimbleflux.fluxbase.core/HttpMethod

[jvm]
enum class HttpMethod : Enum<HttpMethod>

HTTP method enum used by the SDK’s client layer. (Distinct from Ktor’s HttpMethod to avoid naming clashes in the transport.)

GET [jvm]
GET
POST [jvm]
POST
PUT [jvm]
PUT
PATCH [jvm]
PATCH
DELETE [jvm]
DELETE
HEAD [jvm]
HEAD
Name Summary
entries [jvm]
val entries: EnumEntries<HttpMethod>
Returns an immutable kotlin.enums.EnumEntries list containing the constants of this enum type, in the order they’re declared.
Name Summary
valueOf [jvm]
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.)
values [jvm]
fun values(): Array<HttpMethod>
Returns an array containing the constants of this enum type, in the order they’re declared.
Name Summary
name [jvm]
val name: String
ordinal [jvm]
val ordinal: Int