Disconnection request
Type DISCONNECTION_REQUEST
struct disconnectionRequest
{
std::uint8_t status;
std::array<packetTypes, UUID_SIZE> uuid;
disconnectionRequest(const std::string &cliUuid) : status(REQUEST)
{
std::memmove(&uuid, cliUuid.data(), UUID_SIZE);
}
disconnectionRequest(uint8_t status) : status(status) {}
};
The client must send its UUID with the packet and the header type must be DISCONNECTION_REQUEST