|
RestLink 2.2.0
Powerfull Rest Client for Qt
|
Utility class providing helper functions for HTTP-related operations. More...
#include <httputils.h>
Static Public Member Functions | |
| static QString | verbString (AbstractRequestHandler::Method method) |
| Converts an HTTP method enum to its string representation. | |
| static QString | reasonPhrase (int code) |
| Returns the standard reason phrase for a given HTTP status code. | |
Utility class providing helper functions for HTTP-related operations.
This class offers static methods to convert HTTP methods to strings and retrieve reason phrases for HTTP status codes.
|
static |
Converts an HTTP method enum to its string representation.
| method | The HTTP method as defined in RequestHandler::Method. |
|
static |
Returns the standard reason phrase for a given HTTP status code.
| code | The HTTP status code (e.g., 200, 404). |