ltm rule command HTTP2 disconnectΒΆ

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



HTTP2::disconnect
       This command allows you to cleanly terminate the current HTTP/2
       session.

SYNOPSIS
       HTTP2::disconnect

DESCRIPTION
       Cleanly terminates the current HTTP/2 session, if HTTP/2 is active.

RETURN VALUE
       The return is 0 if the disconnect was clean. If a GOAWAY frame cannot
       be sent, an error will be returned.

VALID DURING
       HTTP TCP

EXAMPLES
	when HTTP_REQUEST {
	    if {[HTTP2::active]} {
		HTTP2::disconnect
	    }
	}

HINTS
       The session will be disconnected only if HTTP/2 is active.

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



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