ltm rule command ICAP methodΒΆ

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



ICAP::method
       Returns the ICAP request method.

SYNOPSIS
       ICAP::method

DESCRIPTION
       The ICAP::method command returns the ICAP request method.  This will
       either be "REQMOD" or "RESPMOD"

       Syntax

       ICAP::method

	   * Returns the ICAP request method

RETURN VALUE
       Returns the ICAP request method.

VALID DURING
       ICAP_REQUEST

EXAMPLES
	when ICAP_REQUEST {
	    if {[ICAP::method] == "REQMOD"} {
		ICAP::header add X-Request $seqno
	    }
	}

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



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