Stellarium 0.15.2
Main Page
Modules
Namespaces
Classes
Coding Style
Scripting
Plugins
File Structure
Files
File List
File Members
plugins
RemoteControl
src
qtwebapp
httpserver
httpcookie.h
Go to the documentation of this file.
1
6
#ifndef HTTPCOOKIE_H
7
#define HTTPCOOKIE_H
8
9
#include <QList>
10
#include <QByteArray>
11
#include "
httpglobal.h
"
12
20
class
DECLSPEC
HttpCookie
21
{
22
public
:
23
25
HttpCookie
();
26
37
HttpCookie
(
const
QByteArray name,
const
QByteArray value,
const
int
maxAge,
const
QByteArray path=
"/"
,
const
QByteArray comment=QByteArray(),
const
QByteArray domain=QByteArray(),
const
bool
secure=
false
);
38
43
HttpCookie
(
const
QByteArray source);
44
46
QByteArray toByteArray()
const
;
47
52
static
QList<QByteArray> splitCSV(
const
QByteArray source);
53
55
void
setName(
const
QByteArray name);
56
58
void
setValue(
const
QByteArray value);
59
61
void
setComment(
const
QByteArray comment);
62
64
void
setDomain(
const
QByteArray domain);
65
67
void
setMaxAge(
const
int
maxAge);
68
70
void
setPath(
const
QByteArray path);
71
73
void
setSecure(
const
bool
secure);
74
76
QByteArray getName()
const
;
77
79
QByteArray getValue()
const
;
80
82
QByteArray getComment()
const
;
83
85
QByteArray getDomain()
const
;
86
88
int
getMaxAge()
const
;
89
91
QByteArray getPath()
const
;
92
94
bool
getSecure()
const
;
95
97
int
getVersion()
const
;
98
99
private
:
100
101
QByteArray name;
102
QByteArray value;
103
QByteArray comment;
104
QByteArray domain;
105
int
maxAge;
106
QByteArray path;
107
bool
secure;
108
int
version;
109
110
};
111
112
#endif // HTTPCOOKIE_H
HttpCookie
HTTP cookie as defined in RFC 2109.
Definition:
httpcookie.h:20
httpglobal.h
Generated on Tue Mar 21 2017 14:15:13 for Stellarium by
1.8.11