Loading...
Select Version
The help function kcHttpGetRc2String
returns as function result the name of the passed value followed by this value in parenthesis as printable null-terminated string.
Function declaration kcHttpGetRc2String
char * kcHttpGetRc2String( kc_http_retcode httpRc);
This function has following parameters:
>> | httpRc | Value from enum kc_http_retcode. |
Example
printf("Return code is %s.", kcHttpGetRc2String( KC_HTTP_HEADER_NAME_TOO_LONG));
Output
Return code is KC_HTTP_HEADER_NAME_TOO_LONG (-7).