|
ORE Studio 0.0.4
|
Handshake response message sent by server to client. More...
#include <handshake_protocol.hpp>

Static Public Member Functions | |
| static std::vector< std::byte > | serialize (handshake_response v) |
| Serialize to frame payload. | |
| static std::expected< handshake_response, error_code > | deserialize (std::span< const std::byte > data) |
| Deserialize from frame payload. | |
Public Attributes | |
| std::uint16_t | server_version_major |
| std::uint16_t | server_version_minor |
| bool | version_compatible |
| std::string | server_identifier |
| error_code | status |
| compression_type | selected_compression = compression_type::none |
| Compression type selected for this session. | |
Handshake response message sent by server to client.
| compression_type selected_compression = compression_type::none |
Compression type selected for this session.
The server selects one compression type from the client's supported types, or none if compression is not desired or not supported. All subsequent frames in this session should use this compression type.