WS::release

Description

WS::release Releases the data collected via WS::collect. Unless a subsequent WS::collect command was issued, there is no need to use the WS::release command inside of the WS_CLIENT_DATA and WS_SERVER_DATA events, since (in these cases) the data is implicitly released.

Syntax

WS::release

WS::release

Valid During

WS_CLIENT_DATA WS_SERVER_DATA

Examples

when WS_CLIENT_FRAME {
     WS::collect frame 1000
     set clen 1000
 }

 when WS_CLIENT_DATA {
     regsub -all "oursite" [WS::payload] "oursitedev" newdata
     log local0. "Replacing payload with new data."
     WS::payload replace 0 $clen $newdata
     WS::release
 }

Change Log

@BIGIP-12.1 –First introduced the command.

The BIG-IP API Reference documentation contains community-contributed content. F5 does not monitor or control community code contributions. We make no guarantees or warranties regarding the available code, and it may contain errors, defects, bugs, inaccuracies, or security vulnerabilities. Your access to and use of any code available in the BIG-IP API reference guides is solely at your own risk.