|
ORE Studio 0.0.4
|
Manages compression settings for the shell client. More...
#include <compression_commands.hpp>

Static Public Member Functions | |
| static void | register_commands (cli::Menu &root) |
| Register compression management commands. | |
| static std::uint8_t | get_supported_compression () noexcept |
| Get the current compression support bitmask. | |
| static void | process_compression (std::ostream &out, const std::string &enable, const std::string &algorithm="") |
| Process a compression command. | |
Manages compression settings for the shell client.
Provides commands to enable/disable compression and select the algorithm. The compression setting is applied when establishing new connections.
|
static |
Register compression management commands.
Adds compression command to the root menu.
| root | The root menu to add commands to |
|
staticnoexcept |
Get the current compression support bitmask.
Used by connection_commands when establishing connections.

|
static |
Process a compression command.
Handles "compression off", "compression on", and "compression on <algorithm>" commands.
| out | Output stream for user feedback |
| enable | Whether to enable compression ("on") or disable ("off") |
| algorithm | Optional algorithm name (zlib, gzip, bzip2) |
