11 #ifndef COM_BORA_SOFTWARE__BALAU_NETWORK_HTTP__CLIENT_SESSION 12 #define COM_BORA_SOFTWARE__BALAU_NETWORK_HTTP__CLIENT_SESSION 31 public:
const std::string sessionId;
37 : sessionId(
UUID().asString() + ::
toString(clock.millitime())) {}
45 #endif // COM_BORA_SOFTWARE__BALAU_NETWORK_HTTP__CLIENT_SESSION Components and utilities working on HTTP data transmission.
Definition: HttpClient.hpp:26
Base interface of clocks.
Definition: Clock.hpp:47
UUID class, using the Boost uuid implementation.
The session object for a client.
Definition: ClientSession.hpp:30
UUID class, using the Boost uuid implementation.
Definition: UUID.hpp:33
ClientSession(const System::Clock &clock)
Create a client session object with a new session id.
Definition: ClientSession.hpp:36
Balau::U8String< AllocatorT > toString(LoggingLevel level)
Print the logging level as a UTF-8 string.
Definition: LoggingLevel.hpp:73