|
ORE Studio 0.0.4
|
Handshake request message sent by client to initiate connection. More...
#include <handshake_protocol.hpp>

Static Public Member Functions | |
| static std::vector< std::byte > | serialize (handshake_request v) |
| Serialize to frame payload. | |
| static std::expected< handshake_request, error_code > | deserialize (std::span< const std::byte > data) |
| Deserialize from frame payload. | |
Public Attributes | |
| std::uint16_t | client_version_major |
| std::uint16_t | client_version_minor |
| std::string | client_identifier |
| std::uint8_t | supported_compression = 0 |
| Bitmask of compression types supported by the client. | |
Handshake request message sent by client to initiate connection.
| std::uint8_t supported_compression = 0 |
Bitmask of compression types supported by the client.
Bit 0 (0x01): zlib Bit 1 (0x02): gzip Bit 2 (0x04): bzip2
A value of 0x00 means no compression support (or old client). A value of 0x07 means all compression types are supported.