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 acknowledgment is required for this push message.
The length of the payload data.
Library:libPushService (For the qcc command, use the -l PushService option to link against this library)
Last modified: 2014-05-14