ObjFW
|
Go to the source code of this file.
Classes | |
struct | of_http_request_protocol_version_t |
The HTTP version of the HTTP request. More... | |
class | OFHTTPRequest |
A class for storing HTTP requests. More... | |
Enumerations | |
enum | of_http_request_method_t { OF_HTTP_REQUEST_METHOD_OPTIONS , OF_HTTP_REQUEST_METHOD_GET , OF_HTTP_REQUEST_METHOD_HEAD , OF_HTTP_REQUEST_METHOD_POST , OF_HTTP_REQUEST_METHOD_PUT , OF_HTTP_REQUEST_METHOD_DELETE , OF_HTTP_REQUEST_METHOD_TRACE , OF_HTTP_REQUEST_METHOD_CONNECT } |
The type of an HTTP request. More... | |
Functions | |
const char *_Nullable | of_http_request_method_to_string (of_http_request_method_t method) |
Returns a C string describing the specified request method. More... | |
of_http_request_method_t | of_http_request_method_from_string (OFString *string) |
Returns the request method for the specified string. More... | |
The type of an HTTP request.
of_http_request_method_t of_http_request_method_from_string | ( | OFString * | string | ) |
Returns the request method for the specified string.
string | The string for which the request method should be returned |
const char* _Nullable of_http_request_method_to_string | ( | of_http_request_method_t | method | ) |
Returns a C string describing the specified request method.
method | The request method which should be described as a C string |