methodFromName

Gets a Method enum value from a string. Defaults to GET for unknown names.

methodFromName
(
string name
)

Parameters

name string

The string representation of the method.

Return Value

Type: Method

The method enum value.