Go to the source code of this file.
◆ OFHTTPRequestMethod
The type of an HTTP request.
Enumerator |
---|
OFHTTPRequestMethodOptions | OPTIONS
|
OFHTTPRequestMethodGet | GET
|
OFHTTPRequestMethodHead | HEAD
|
OFHTTPRequestMethodPost | POST
|
OFHTTPRequestMethodPut | PUT
|
OFHTTPRequestMethodDelete | DELETE
|
OFHTTPRequestMethodTrace | TRACE
|
OFHTTPRequestMethodConnect | CONNECT
|
◆ OFHTTPRequestMethodName()
Returns a C string describing the specified request method.
- Deprecated
- Use OFHTTPRequestMethodString instead.
- Parameters
-
method | The request method which should be described as a C string |
- Returns
- A C string describing the specified request method
◆ OFHTTPRequestMethodParseName()
Returns the request method for the specified string.
- Deprecated
- Use OFHTTPRequestMethodParseString instead.
- Parameters
-
string | The string for which the request method should be returned |
- Returns
- The request method for the specified string
- Exceptions
-
◆ OFHTTPRequestMethodParseString()
Returns the request method for the specified string.
- Parameters
-
string | The string for which the request method should be returned |
- Returns
- The request method for the specified string
- Exceptions
-
◆ OFHTTPRequestMethodString()
Returns a string describing the specified request method.
- Parameters
-
method | The request method which should be described as a string |
- Returns
- A string describing the specified request method