WS::masking

Description

WS::masking preserve

The WebSockets module will not unmask the payload. Data received from the end-points will be sent untouched to other modules for further processing.

WS::masking remask

The data received from the end-points is unmasked and sent to other modules for further processing. The client-to-server frame’s payload is then masked with the specified mask before sending data out on the wire again.

Syntax

WS::masking ( 'preserve' | 'remask' )

Valid During

WS_REQUEST WS_RESPONSE

Examples

when WS_REQUEST {
     WS::masking preserve
     WS::masking remask
 }
 when WS_RESPONSE {
     WS::masking preserve
     WS::masking remask
 }

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.