const void * vortex_frame_get_payload ( VortexFrame frame)

Returns the payload associated to the given frame.

Return actual frame payload. You must not free returned payload.

Keep in mind that this function returns the frame payload without the mime headers. All mime headers read could be accessed through vortex_frame_get_content_type and vortex_frame_get_transfer_encoding.

Parameters
frameThe frame where the payload is being requested.
Returns
the actual frame's payload or NULL if fail.

Referenced by vortex_channel_validate_err().