ltm rule command RTSP payloadΒΆ

iRule(1)		      BIG-IP TMSH Manual		      iRule(1)



RTSP::payload
       Queries for or replaces content information.

SYNOPSIS
       RTSP::payload (LENGTH | length)?

       RTSP::payload replace OFFSET LENGTH RTSP_PAYLOAD

DESCRIPTION
       Queries for or replaces content information. With this command, you can
       retrieve content, query for content size, or replace a certain amount
       of content.

       Syntax

       RTSP::payload []

	    * Returns the content that the RTSP::collect command has collected
	      thus far. If you do not specify a size, the system returns the
	      collected content.

       RTSP::payload length

	    * Returns the size of the content that the command has collected thus
	      far, not including headers.

       RTSP::payload replace   

	    * Replaces the amount of content that you specified with the
	      argument, starting at with .

RETURN VALUE
VALID DURING
EXAMPLES
	rule xxx {
	    when RTSP_REQUEST {
		RTSP::collect
	    }
	    when RTSP_REQUEST_DATA {
		if {[RTSP::payload length] > 10 } {
		    RTSP::release
		}
	    }
	}

HINTS
SEE ALSO
CHANGE LOG
       @BIGIP-9.4.3 --First introduced the command.



BIG-IP				  2017-01-31			      iRule(1)