HttpMethod

# HttpMethod


enum HttpMethod : Enum<HttpMethod>

HttpMethod is a MIRACLTrust SDK representation of the HTTP methods

# Entries

GET
GET
POST
POST
PUT
PUT
DELETE
DELETE

# Properties

Name Summary
entries
val entries: EnumEntries<HttpMethod>
Returns a representation of an immutable list of all enum entries, in the order they’re declared.
method
val method: String
name
val name: String
ordinal
val ordinal: Int

# Functions

Name Summary
valueOf
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
fun values(): Array<HttpMethod>
Returns an array containing the constants of this enum type, in the order they’re declared.