parse

fun parse(method: String): HttpMethod

Parse from a raw string representation of an HTTP method (e.g. "get")

Return

HttpMethod for the given string

Throws

if the method is unknown