ltm rule command HTTP2 requestsΒΆ

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



HTTP2::requests
       This command can be used to determine the count of requests received in
       the current HTTP/2 session.

SYNOPSIS
       HTTP2::requests

DESCRIPTION
       Returns the count of requests received in the current HTTP/2 session.
       This includes the current request. Returns 0 if HTTP/2 is not active.

RETURN VALUE
       The return is a number indicating count of requests received in current
       HTTP/2 session. The return is 0 if HTTP/2 is not active.

VALID DURING
       HTTP TCP

EXAMPLES
	when HTTP_REQUEST {
	    log local0. "Number of requests received in current session is [HTTP2::requests]"
	}

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



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