Default CookieEntity which expires in a week since created.
More...
#include <cookie_entity_week.h>
Default CookieEntity which expires in a week since created.
Concrete prototype of cookie entity with all default fields except of expires feature, which is set as 7 days
CookieEntityWeek::CookieEntityWeek |
( |
const char * |
value | ) |
|
|
explicit |
Create default cookie entity which expires in a week since created
- Parameters
-
std::unique_ptr<Entity> CookieEntityWeek::clone |
( |
| ) |
|
|
overridevirtual |
Clone default cookie entity which expires in a week since created
- Returns
- new CookieEntityWeek object
Implements Entity.
void CookieEntityWeek::setValue |
( |
std::string |
value | ) |
|
|
overridevirtual |
Set value of cookie
- Parameters
-
Implements Entity.
std::string CookieEntityWeek::toString |
( |
| ) |
|
|
overridevirtual |
Serialize this cookie to string
- Returns
- serialized cookie value
Implements Entity.
The documentation for this class was generated from the following file: