WS::collect

Description

WS::collect frame Collects the entire Websocket frame payload.
WS::collect frame Collects an amount of Websocket frame payload, optionally specified with the argument.

Syntax

WS::collect ('frame' (LENGTH)? )

WS::collect (‘frame’ (LENGTH)? )

Valid During

WS_CLIENT_FRAME WS_SERVER_FRAME WS_CLIENT_DATA WS_SERVER_DATA

Examples

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

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.