ec_httpsrv_response_xml
Name
ec_httpsrv_response_xml — Set the session response to an XML object
Synopsis
#include "modules/listeners/httpsrv.h"
| int **ec_httpsrv_response_xml** (
| sess, | |
| | xmldoc)
; | |
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.
Set the session response to an XML object.
- sess
-
the session to modify
- xmldoc
-
A libxml2 document
Sets the response payload to be the xml representation of the supplied xmldoc pointer.
0 if successful, else returns an errno indicating what went wrong. In particular, ENOMEM indicates that insuficient memory was available.