ec_httpsrv_request_header_get — Gets the value of a specific HTTP request header
int **ec_httpsrv_request_header_get** ( | sess, | |
| | name, | |
| | value
); | |
ec_httpsrv_session * <var class="pdparam">sess</var>;
const char * <var class="pdparam">name</var>;
const char ** <var class="pdparam">value</var>;
This reference page was automatically generated from functions found in the header files in the development branch. The function described here may not exist in generally available versions of Momentum, and may change in behavior when it is generally available. Consult your vendor for definitive advice on the use of this function.
Gets the value of a specific HTTP request header.
the session to interrogate
the name of the header to query
the value of the header
0 on success, ENOENT if the named header is missing from the request, or some other errno value for other error conditions.
The name is treated in a case insensitive manner.
The returned string is valid for the lifetime of the request.