const unsigned char* nopoll_msg_get_payload ( noPollMsg msg)

Allows to get a reference to the payload content inside the provided websocket message.

msgThe websocket message to get the payload from.
A reference to the payload or NULL if it fails. See nopoll_msg_get_payload_size to get payload size.

Referenced by nopoll_conn_get_msg(), and nopoll_conn_read().