request_eval — Called prior to sending to APNs
int **request_eval** ( | closure, | |
| | request, | |
| | msg
); | |
**Configuration Change. ** This feature is available as of version 3.5.5.
This hook is called prior to sending to the Apple push notification server.
The closure function.
The APN request. For a description of this data type see “apn_request”.
The message. For a description of this data type see “ec_message”.
This hook returns zero or 1. If non-zero, no further hook providers are called.
This hook will be called in any thread.