request_eval — Called prior to sending a generic HTTP request
int **request_eval** ( | closure, | |
| | sess
); | |
**Configuration Change. ** This hook point is available as of Momentum version 3.5.5.
Called prior to sending a generic HTTP request.
This hook point is similar to the gcm_request_eval hook but in this case the hook is passed a pointer to the http_session data which contains the http_request. If you change anything at this hook point you must update the HTTP headers.
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 any thread.