|
ORE Studio 0.0.4
|
Request to logout the current session. More...
#include <login_protocol.hpp>

Public Member Functions | |
| std::vector< std::byte > | serialize () const |
| Serialize request to bytes. | |
Static Public Member Functions | |
| static std::expected< logout_request, comms::messaging::error_code > | deserialize (std::span< const std::byte > data) |
| Deserialize request from bytes. | |
Request to logout the current session.
The server will logout the currently authenticated session. The account_id is determined from the session context, not from the request payload. This prevents clients from forging logout requests for other users. After logout, login_info.online is set to false.
| std::vector< std::byte > serialize | ( | ) | const |
Serialize request to bytes.
Format: Empty (session context provides account info)
