data class HttpMethod
Represents an HTTP method (verb)
HttpMethod(value: String)
Represents an HTTP method (verb) |
val value: String
contains method name |
val DefaultMethods: List<HttpMethod>
A list of default HTTP methods |
|
val Delete: HttpMethod |
|
val Get: HttpMethod |
|
val Head: HttpMethod |
|
val Options: HttpMethod |
|
val Patch: HttpMethod |
|
val Post: HttpMethod |
|
val Put: HttpMethod |
fun parse(method: String): HttpMethod
Parse HTTP method by method string |