Defines ID values for HTTP sessions.
More...
#include <fastcgi++/http.hpp>
|
| static const size_t | size =15 |
| | Size in bytes of the ID data. Make sure it is a multiple of 3. More...
|
| |
| static const size_t | stringLength =size*4/3 |
| | Size in characters of string representation. More...
|
| |
|
| void | refresh () const |
| | Resets the last access timestamp to the current time. More...
|
| |
|
| template<class T > |
| class | Sessions |
| |
| template<class charT , class Traits > |
| std::basic_ostream< charT, Traits > & | operator<< (std::basic_ostream< charT, Traits > &os, const SessionId &x) |
| | Output the ID data in base64 encoding. More...
|
| |
Defines ID values for HTTP sessions.
- Date
- March 24, 2016
- Author
- Eddie Carle <eddie.nosp@m.@isa.nosp@m.tec.c.nosp@m.a>
Definition at line 546 of file http.hpp.
| Fastcgipp::Http::SessionId::SessionId |
( |
| ) |
|
| Fastcgipp::Http::SessionId::SessionId |
( |
const SessionId & |
x | ) |
|
|
inline |
template<class charT >
| Fastcgipp::Http::SessionId::SessionId |
( |
const std::basic_string< charT > & |
string | ) |
|
| bool Fastcgipp::Http::SessionId::operator< |
( |
const SessionId & |
x | ) |
const |
|
inline |
| bool Fastcgipp::Http::SessionId::operator== |
( |
const SessionId & |
x | ) |
const |
|
inline |
| void Fastcgipp::Http::SessionId::refresh |
( |
| ) |
const |
|
inlineprivate |
Resets the last access timestamp to the current time.
Definition at line 563 of file http.hpp.
template<class charT , class Traits >
| std::basic_ostream<charT, Traits>& operator<< |
( |
std::basic_ostream< charT, Traits > & |
os, |
|
|
const SessionId & |
x |
|
) |
| |
|
friend |
Output the ID data in base64 encoding.
Definition at line 613 of file http.hpp.
| std::array<unsigned char, size> Fastcgipp::Http::SessionId::m_data |
|
private |
| std::time_t Fastcgipp::Http::SessionId::m_timestamp |
|
mutableprivate |
Contains the time this session was last used.
Definition at line 560 of file http.hpp.
Referenced by SessionId().
| const size_t Fastcgipp::Http::SessionId::size =15 |
|
static |
| const size_t Fastcgipp::Http::SessionId::stringLength =size*4/3 |
|
static |
Size in characters of string representation.
Definition at line 553 of file http.hpp.
Referenced by SessionId().
The documentation for this class was generated from the following files: