Skip to main content

Name

ec_httpsrv_response_append — Append data to the session response output

Synopsis

#include "modules/listeners/httpsrv.h"

| int **ec_httpsrv_response_append** ( | sess, |   | |   | buf, |   | |   | len); |   |

ec_httpsrv_session * <var class="pdparam">sess</var>; const void * <var class="pdparam">buf</var>; size_t <var class="pdparam">len</var>;

Description

Note

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.

Append data to the session response output.

Parameters

sess

the session to modify

buf

the data to emit

len

the amount of data being emitted

Return Values

0 if successful, else returns an errno indicating what went wrong. In particular, ENOMEM indicates that insuficient memory was available.

Was this page helpful?