#import "OFObject.h"
#import "OFSocket.h"
#import "OFString.h"
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.
- 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.
- Parameters
-
| string | The string for which the request method should be returned |
- Returns
- The request method for the specified string
- Exceptions
-