|
glitchedhttps
|
HTTP Method to use for a glitchedhttps_request. More...


Go to the source code of this file.
Enumerations | |
| enum | glitchedhttps_method { GLITCHEDHTTPS_GET = 0 , GLITCHEDHTTPS_HEAD = 1 , GLITCHEDHTTPS_POST = 2 , GLITCHEDHTTPS_PATCH = 3 , GLITCHEDHTTPS_PUT = 4 , GLITCHEDHTTPS_DELETE = 5 , GLITCHEDHTTPS_CONNECT = 6 , GLITCHEDHTTPS_OPTIONS = 7 , GLITCHEDHTTPS_TRACE = 8 } |
| HTTP Method to use for a glitchedhttps_request. More... | |
Functions | |
| GLITCHEDHTTPS_API int | glitchedhttps_method_to_string (enum glitchedhttps_method method, char *out, size_t out_size) |
HTTP Method to use for a glitchedhttps_request.
| enum glitchedhttps_method |
HTTP Method to use for a glitchedhttps_request.
| GLITCHEDHTTPS_API int glitchedhttps_method_to_string | ( | enum glitchedhttps_method | method, |
| char * | out, | ||
| size_t | out_size | ||
| ) |
Converts a glitchedhttps_method enum name to string.
Make sure that you allocate at least a nice and sufficient char[8] for the out argument.
| method | The glitchedhttps_method to stringify. |
| out | The out string into which to strcpy() the result (make sure to allocate at least 8 bytes). |
| out_size | The size of the output char* buffer (must be greater than or equals 8). |