Loading...
Select Version
The function kcHttpGetHeaderCount
returns the number of HTTP header fields contained in the HTTP request. Any Authorization
header field contained in the HTTP request is not counted, since this header field cannot be read.
This function may be called both in program unit and HTTP exit program.
In the program unit the function may only called in the first program unit run of a service.
Function declaration kcHttpGetHeaderCount
int kcHttpGetHeaderCount( void);
Meaning of returned value of function call:
KC_HTTP_OK
The function has successfully terminated.
KC_HTTP_FUNCTION_CALL_NOT_ALLOWED
The function was called by the KDCS program unit before the KDCS call INIT was executed or not in the first program unit run or outside an HTTP exit program.
KC_HTTP_NO_HTTP_CLIENT
The calling service was not initiated by an HTTP client.