Compression
In general, the term "data compression" refers to the ability to reduce the number of bits needed to represent data. One way of dealing with this is to provide recurring strings with a reference to the first of these strings through a compression algorithm. Appropriate compression must occur without loss of information.
The RFC 7692 specification defines the "permessage-deflate" extension for the compression of WebSocket messages. The compression option can be enabled in FB_IotWebSocketClient using the variable bPerMessageDeflate. Compression can then be enabled or disabled for each message using the SendMessage() method.