Set the payload data of a push_payload_t structure.
int push_payload_set_payload(push_payload_t *push_payload, const unsigned char *payload, int payload_length)
A pointer to the push_payload_t structure whose payload you want to set.
The payload object contains push id, the raw pushed content, the headers (which are the key-value pairs of metadata sent with the pushed content), and a flag to indicate that application level acknowledgement is required for this push message.
The length of the payload data.
Last modified: 2013-12-21