function
IsSupportedEndpointMethod
func IsSupportedEndpointMethod(method string) boolReport whether a method belongs to the custom endpoint contract.
CONNECT, DELETE, GET, HEAD, OPTIONS, PATCH, POST, and PUT are accepted case-insensitively after trimming.