Yet Another HTTP Library: YaHTTP::Cookie Class Reference

Yet Another HTTP Library yahttp

- Main Page
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
YaHTTP::Cookie Class Reference

`#include <cookie.hpp>`

Collaboration diagram for YaHTTP::Cookie:
[legend]

## Public Member Functions
| Cookie ()
| Cookie (const Cookie &rhs)
| Set the cookie to empty value. More...
std::string | str () const

## Public Attributes
DateTime | expires
std::string | domain
std::string | path
bool | httponly
bool | secure
std::string | name
std::string | value

## Detailed Description

Implements a single cookie

## Constructor & Destructor Documentation

YaHTTP::Cookie::Cookie | ( |  | ) |
| inline

YaHTTP::Cookie::Cookie | ( | const Cookie & | rhs | ) |
| inline

Set the cookie to empty value.

## Member Function Documentation

std::string YaHTTP::Cookie::str | ( |  | ) | const
| inline

## Member Data Documentation

std::string YaHTTP::Cookie::domain

Domain where cookie is valid

DateTime YaHTTP::Cookie::expires

Expiration date

bool YaHTTP::Cookie::httponly

Whether the cookie is for server use only

std::string YaHTTP::Cookie::name

Cookie name

std::string YaHTTP::Cookie::path

Path where the cookie is valid

bool YaHTTP::Cookie::secure

Whether the cookie is for HTTPS only

std::string YaHTTP::Cookie::value

Cookie value

The documentation for this class was generated from the following file:

- /home/cmouse/projects/libyahttp/yahttp/cookie.hpp