ec_httpsrv_ctx_get
Name
ec_httpsrv_ctx_get — Gets the per-request closure blobject from a session
Synopsis
#include "modules/listeners/httpsrv.h"
| ec_blobject * **ec_httpsrv_ctx_get** (
| sess)
; | |
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.
Gets the per-request closure blobject from a session.
Returns the blobject that was previously associated with the session by a call to ec_httpsrv_ctx_set.
If the blobject is non-NULL, it will have a reference added for you; you must call ec_blobject_delref to release it when you no longer require it.
- sess
-
the session to interrogate
a blobject, or NULL if no blobject is present.