GTRKHTTPMethod
enum GTRKHTTPMethod
The provided HTTP methods by GTRestKit.
Here’s the list of the provided HTTP methods.
- GET
- POST
- PUT
- PATCH
- DELETE
If the method you want to use does not exist, then feel free to add it to this enum in accordance to the existing cases.
-
Undocumented
Declaration
Swift
case GET
-
Undocumented
Declaration
Swift
case POST
-
Undocumented
Declaration
Swift
case PUT
-
Undocumented
Declaration
Swift
case PATCH
-
Undocumented
Declaration
Swift
case DELETE
-
It returns the name of the HTTP method as a string.
Declaration
Swift
func getName() -> String
Return Value
The name of the HTTP method.