ltm rule command STREAM encodingΒΆ

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

STREAM::encoding
       Specifies non-default content encoding.

SYNOPSIS
       STREAM::encoding (ascii | utf-8 | unicode)

DESCRIPTION
       Specifies non-default content encoding. The default value is ascii.

       Syntax

       STREAM::encoding 

	  Specifies non-default content encoding. The default value is ascii.

RETURN VALUE
VALID DURING
EXAMPLES
	when STREAM_MATCHED {
	    set stream_match [STREAM::match]
	    log local0. "$stream_match"
	    STREAM::encoding utf-8
	    # The ?/? represents unicode characters.
	    if { $stream_match contains "hello?/?" } {
		STREAM::replace "hello hey"
		log local0. "stream match is [STREAM::match]"
	    }
	}

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

BIG-IP						      2020-06-23					     iRule(1)