Exposes available methods as object as well as an implicit conversion from string to Method objects.
Exposes available methods as object as well as an implicit conversion from string to Method objects.
Because all backends do not support all methods, this library imposes a subset of all available HTTP Methods. Should you find a use case for this library with other HTTP methods, please submit an issue with your motivation.
Defines the protocol used.
When setting a protocol from a string, we want to preserve the initial case such as not to alter the url.