int nopoll_msg_get_payload_size ( noPollMsg msg)

Allows to get the payload byte length stored on the provided message.

Parameters
msgThe websocket message to get the payload from.
Returns
The payload size or -1 if it fails (only when msg is NULL).

Referenced by nopoll_conn_get_msg(), and nopoll_conn_read().