![]() |
Kurlyk
|
Represents an HTTP cookie. More...
#include <Cookie.hpp>
Public Member Functions | |
| Cookie ()=default | |
| Default constructor for the Cookie class. | |
| Cookie (const std::string &name, const std::string &value, const std::string &path=std::string(), uint64_t expiration_date=0) | |
| Parameterized constructor for the Cookie class. | |
Public Attributes | |
| std::string | name |
| The name of the cookie. | |
| std::string | value |
| The value of the cookie. | |
| std::string | path |
| The path to which the cookie is associated. | |
| uint64_t | expiration_date = 0 |
| The expiration date of the cookie in Unix time format. | |
Represents an HTTP cookie.
Definition at line 12 of file Cookie.hpp.
|
default |
Default constructor for the Cookie class.
|
inline |
Parameterized constructor for the Cookie class.
| name | The name of the cookie. |
| value | The value of the cookie. |
| path | The path to which the cookie is associated. |
| expiration_date | The expiration date of the cookie in Unix time format. |
Definition at line 27 of file Cookie.hpp.
| uint64_t kurlyk::Cookie::expiration_date = 0 |
The expiration date of the cookie in Unix time format.
Definition at line 17 of file Cookie.hpp.
| std::string kurlyk::Cookie::name |
The name of the cookie.
Definition at line 14 of file Cookie.hpp.
| std::string kurlyk::Cookie::path |
The path to which the cookie is associated.
Definition at line 16 of file Cookie.hpp.
| std::string kurlyk::Cookie::value |
The value of the cookie.
Definition at line 15 of file Cookie.hpp.