response_eval — The response phase in generic HTTP delivery
int **response_eval** ( | closure, | |
| | sess
); | |
**Configuration Change. ** This hook point is available as of Momentum version 3.5.5.
This hook is called at the response phase in generic HTTP delivery. If an HTTP 200 response was received, then the HTTP response body contains a JSON object that holds the response.
This hook should not modify the response and would typically use it to process feedback concerning token management but this hook may also be used for other custom features.
The closure function.
The http_session. For more information about this struct see “http_session”.
This hook returns zero or 1. If non-zero, no further hook providers are called.
This hook will be called in the