ec_httpsrv_response_header_set — Sets a header in the session response
int **ec_httpsrv_response_header_set** ( | sess, | |
| | name, | |
| | value
); | |
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.
Sets a header in the session response.
the session to modify
the name of the header being set
the value of the header being set
0 if successful, else returns an errno indicating what went wrong. In particular, ENOMEM indicates that insuficient memory was available when copying the strings to the session, but it may be possible for other errors to occur.