ec_httpsrv_request_method_get
Last updated March 2020
Name
ec_httpsrv_request_method_get — Gets the method from the session request
Synopsis
#include "modules/listeners/httpsrv.h"
| const char * **ec_httpsrv_request_method_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 method from the session request.
- sess
-
the session to interrogate
the method string, which will typically be "GET" or "POST", but could be any method allowed by the handler.
The returned string is valid for the lifetime of the request.
Was this page helpful?