-
Notifications
You must be signed in to change notification settings - Fork 1
/
BrookHTTPCookies.TBrookHTTPCookie.html
426 lines (425 loc) · 23 KB
/
BrookHTTPCookies.TBrookHTTPCookie.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
<!DOCTYPE html>
<html lang="en">
<head>
<title>Brook Tardigrade: BrookHTTPCookies: Class TBrookHTTPCookie</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="generator" content="PasDoc 0.16.0">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="tipuesearch/tipuesearch.css">
<link rel="StyleSheet" type="text/css" href="pasdoc.css">
</head>
<body>
<div class="container"><div class="navigation">
<h2><a href="index.html">Brook Tardigrade</a></h2><ul><li><a href="AllUnits.html">Units</a></li><li><a href="ClassHierarchy.html">Class Hierarchy</a></li><li><a href="AllClasses.html">Classes, Interfaces, Objects and Records</a></li><li><a href="AllTypes.html">Types</a></li><li><a href="AllVariables.html">Variables</a></li><li><a href="AllConstants.html">Constants</a></li><li><a href="AllFunctions.html">Functions and Procedures</a></li><li><a href="AllIdentifiers.html">Identifiers</a></li><li><form class="search-form" action="tipue_results.html"><div class="search-input"><input type="text" name="q" id="tipue_search_input" pattern=".{3,}" title="At least 3 characters" required><div class="search-button"><input type="button" id="tipue_search_button" onclick="this.form.submit();"></div></div></form>
<div style="clear: both"></div>
</li></ul></div><div class="content">
<span id="TBrookHTTPCookie"></span><h1 class="cio">Class TBrookHTTPCookie</h1>
<div class="sections">
<div class="one_section"><a class="section" href="#PasDoc-Description">Description</a></div><div class="one_section"><a class="section" href="#PasDoc-Hierarchy">Hierarchy</a></div><div class="one_section">Fields</div><div class="one_section"><a class="section" href="#PasDoc-Methods">Methods</a></div><div class="one_section"><a class="section" href="#PasDoc-Properties">Properties</a></div></div>
<span id="PasDoc-Description"></span><h2 class="unit">Unit</h2>
<p class="unitlink">
<a href="BrookHTTPCookies.html">BrookHTTPCookies</a></p>
<h2 class="declaration">Declaration</h2>
<p class="declaration">
<code>type TBrookHTTPCookie = class(TCollectionItem)</code></p>
<h2 class="description">Description</h2>
<p>
Server side HTTP cookie item.</p>
<span id="PasDoc-Hierarchy"></span><h2 class="hierarchy">Hierarchy</h2>
<ul class="hierarchy"><li class="ancestor">TObject</li>
<li class="ancestor">TPersistent</li>
<li class="ancestor">TCollectionItem</li>
<li class="thisitem">TBrookHTTPCookie</li></ul><h2 class="overview">Overview</h2>
<span id="PasDoc-Methods"></span><h3 class="summary">Methods</h3>
<table class="summary wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>constructor <strong><a href="BrookHTTPCookies.TBrookHTTPCookie.html#Create">Create</a></strong>(ACollection: TCollection); override;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>procedure <strong><a href="BrookHTTPCookies.TBrookHTTPCookie.html#Assign">Assign</a></strong>(ASource: TPersistent); override;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>class function <strong><a href="BrookHTTPCookies.TBrookHTTPCookie.html#Sign">Sign</a></strong>(const ASecret, AUnsignedValue: string): string; overload; static;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>class function <strong><a href="BrookHTTPCookies.TBrookHTTPCookie.html#TryUnsign">TryUnsign</a></strong>(const ASecret, ASignedValue: string; out AUnsignedValue: string): Boolean; overload; static;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>class function <strong><a href="BrookHTTPCookies.TBrookHTTPCookie.html#Unsign">Unsign</a></strong>(const ASecret, ASignedValue: string): string; overload; static; inline;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>class function <strong><a href="BrookHTTPCookies.TBrookHTTPCookie.html#IsSigned">IsSigned</a></strong>( const ASignedValue: string): Boolean; overload; static; inline;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <strong><a href="BrookHTTPCookies.TBrookHTTPCookie.html#IsSigned">IsSigned</a></strong>: Boolean; overload; virtual;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>procedure <strong><a href="BrookHTTPCookies.TBrookHTTPCookie.html#Sign">Sign</a></strong>(const ASecret: string); overload; virtual;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <strong><a href="BrookHTTPCookies.TBrookHTTPCookie.html#TryUnsign">TryUnsign</a></strong>(const ASecret: string): Boolean; overload; virtual;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>procedure <strong><a href="BrookHTTPCookies.TBrookHTTPCookie.html#Unsign">Unsign</a></strong>(const ASecret: string); overload; virtual;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <strong><a href="BrookHTTPCookies.TBrookHTTPCookie.html#ToString">ToString</a></strong>: string; override;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>procedure <strong><a href="BrookHTTPCookies.TBrookHTTPCookie.html#Clear">Clear</a></strong>; virtual;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>procedure <strong><a href="BrookHTTPCookies.TBrookHTTPCookie.html#Expire">Expire</a></strong>; virtual;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>procedure <strong><a href="BrookHTTPCookies.TBrookHTTPCookie.html#Persist">Persist</a></strong>; virtual;</code></td>
</tr>
</table>
<span id="PasDoc-Properties"></span><h3 class="summary">Properties</h3>
<table class="summary wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <strong><a href="BrookHTTPCookies.TBrookHTTPCookie.html#Name">Name</a></strong>: string read FName write SetName;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <strong><a href="BrookHTTPCookies.TBrookHTTPCookie.html#Value">Value</a></strong>: string read FValue write SetValue;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <strong><a href="BrookHTTPCookies.TBrookHTTPCookie.html#Domain">Domain</a></strong>: string read FDomain write FDomain;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <strong><a href="BrookHTTPCookies.TBrookHTTPCookie.html#Path">Path</a></strong>: string read FPath write SetPath;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <strong><a href="BrookHTTPCookies.TBrookHTTPCookie.html#Expires">Expires</a></strong>: TDateTime read FExpires write FExpires;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <strong><a href="BrookHTTPCookies.TBrookHTTPCookie.html#HttpOnly">HttpOnly</a></strong>: Boolean read FHttpOnly write FHttpOnly;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <strong><a href="BrookHTTPCookies.TBrookHTTPCookie.html#Secure">Secure</a></strong>: Boolean read FSecure write FSecure;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <strong><a href="BrookHTTPCookies.TBrookHTTPCookie.html#MaxAge">MaxAge</a></strong>: Integer read FMaxAge write SetMaxAge;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <strong><a href="BrookHTTPCookies.TBrookHTTPCookie.html#SameSite">SameSite</a></strong>: <a href="BrookHTTPCookies.html#TBrookHTTPCookieSameSite">TBrookHTTPCookieSameSite</a> read FSameSite write FSameSite;</code></td>
</tr>
</table>
<h2 class="description">Description</h2>
<h3 class="detail">Methods</h3>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Create"></span><code>constructor <strong>Create</strong>(ACollection: TCollection); override;</code></td>
</tr>
<tr><td colspan="2">
<p>
Creates an instance of <code><a class="normal" href="BrookHTTPCookies.TBrookHTTPCookie.html">TBrookHTTPCookie</a></code>. </p>
<h6 class="description_section">Parameters</h6>
<dl class="parameters">
<dt>ACollection[in]</dt>
<dd>Cookies list.</dd>
</dl>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Assign"></span><code>procedure <strong>Assign</strong>(ASource: TPersistent); override;</code></td>
</tr>
<tr><td colspan="2">
<p>
Copies the properties of the source cookie. </p>
<h6 class="description_section">Parameters</h6>
<dl class="parameters">
<dt>ASource[in]</dt>
<dd>Cookie source to be copied.</dd>
</dl>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Sign"></span><code>class function <strong>Sign</strong>(const ASecret, AUnsignedValue: string): string; overload; static;</code></td>
</tr>
<tr><td colspan="2">
<p>
Signs a cookie <a class="normal" href="BrookHTTPCookies.TBrookHTTPCookie.html#Value">value</a> using <a href="https://en.wikipedia.org/wiki/HMAC">HMAC-SHA1</a>. </p>
<h6 class="description_section">Parameters</h6>
<dl class="parameters">
<dt>ASecret[in]</dt>
<dd>Secret key to <a class="normal" href="BrookHTTPCookies.TBrookHTTPCookie.html#Sign">sign</a> the cookie <a class="normal" href="BrookHTTPCookies.TBrookHTTPCookie.html#Value">value</a>.</dd>
<dt>AUnsignedValue[in]</dt>
<dd>Unsigned cookie <a class="normal" href="BrookHTTPCookies.TBrookHTTPCookie.html#Value">value</a> to be signed.</dd>
</dl>
<h6 class="description_section">Returns</h6>
<p class="return">Signed cookie <a class="normal" href="BrookHTTPCookies.TBrookHTTPCookie.html#Value">value</a>.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="TryUnsign"></span><code>class function <strong>TryUnsign</strong>(const ASecret, ASignedValue: string; out AUnsignedValue: string): Boolean; overload; static;</code></td>
</tr>
<tr><td colspan="2">
<p>
Tries to <a class="normal" href="BrookHTTPCookies.TBrookHTTPCookie.html#Unsign">unsign</a> a cookie <a class="normal" href="BrookHTTPCookies.TBrookHTTPCookie.html#Value">value</a>. </p>
<h6 class="description_section">Parameters</h6>
<dl class="parameters">
<dt>ASecret[in]</dt>
<dd>Secret key to <a class="normal" href="BrookHTTPCookies.TBrookHTTPCookie.html#Unsign">unsign</a> the cookie <a class="normal" href="BrookHTTPCookies.TBrookHTTPCookie.html#Value">value</a>.</dd>
<dt>ASignedValue[out]</dt>
<dd>Signed cookie <a class="normal" href="BrookHTTPCookies.TBrookHTTPCookie.html#Value">value</a>.</dd>
<dt>AUnsignedValue[out]</dt>
<dd>Unsigned cookie <a class="normal" href="BrookHTTPCookies.TBrookHTTPCookie.html#Value">value</a>.</dd>
</dl>
<h6 class="description_section">Returns</h6>
<p class="return"><code>True</code> if cookie <a class="normal" href="BrookHTTPCookies.TBrookHTTPCookie.html#Value">value</a> is unsigned successfully.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Unsign"></span><code>class function <strong>Unsign</strong>(const ASecret, ASignedValue: string): string; overload; static; inline;</code></td>
</tr>
<tr><td colspan="2">
<p>
Unsigns a cookie <a class="normal" href="BrookHTTPCookies.TBrookHTTPCookie.html#Value">value</a>. </p>
<h6 class="description_section">Parameters</h6>
<dl class="parameters">
<dt>ASecret[in]</dt>
<dd>Secret key to <a class="normal" href="BrookHTTPCookies.TBrookHTTPCookie.html#Unsign">unsign</a> the cookie <a class="normal" href="BrookHTTPCookies.TBrookHTTPCookie.html#Value">value</a>.</dd>
<dt>ASignedValue[in]</dt>
<dd>Signed cookie <a class="normal" href="BrookHTTPCookies.TBrookHTTPCookie.html#Value">value</a>.</dd>
</dl>
<h6 class="description_section">Returns</h6>
<p class="return">Unsigned cookie <a class="normal" href="BrookHTTPCookies.TBrookHTTPCookie.html#Value">value</a>.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="IsSigned"></span><code>class function <strong>IsSigned</strong>( const ASignedValue: string): Boolean; overload; static; inline;</code></td>
</tr>
<tr><td colspan="2">
<p>
Checks if a cookie <a class="normal" href="BrookHTTPCookies.TBrookHTTPCookie.html#Value">value</a> is signed. </p>
<h6 class="description_section">Parameters</h6>
<dl class="parameters">
<dt>ASignedValue[out]</dt>
<dd>Signed cookie <a class="normal" href="BrookHTTPCookies.TBrookHTTPCookie.html#Value">value</a>.</dd>
</dl>
<h6 class="description_section">Returns</h6>
<p class="return"><code>True</code> if cookie <a class="normal" href="BrookHTTPCookies.TBrookHTTPCookie.html#Value">value</a> is signed.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="IsSigned"></span><code>function <strong>IsSigned</strong>: Boolean; overload; virtual;</code></td>
</tr>
<tr><td colspan="2">
<p>
Checks if a cookie is signed. </p>
<h6 class="description_section">Returns</h6>
<p class="return"><code>True</code> if cookie is signed.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Sign"></span><code>procedure <strong>Sign</strong>(const ASecret: string); overload; virtual;</code></td>
</tr>
<tr><td colspan="2">
<p>
Signs a cookie <a class="normal" href="BrookHTTPCookies.TBrookHTTPCookie.html#Value">value</a> using <a href="https://en.wikipedia.org/wiki/HMAC">HMAC-SHA1</a>. </p>
<h6 class="description_section">Parameters</h6>
<dl class="parameters">
<dt>ASecret[in]</dt>
<dd>Secret key to <code>sign</code> the cookie <a class="normal" href="BrookHTTPCookies.TBrookHTTPCookie.html#Value">value</a>.</dd>
</dl>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="TryUnsign"></span><code>function <strong>TryUnsign</strong>(const ASecret: string): Boolean; overload; virtual;</code></td>
</tr>
<tr><td colspan="2">
<p>
Tries to <a class="normal" href="BrookHTTPCookies.TBrookHTTPCookie.html#Unsign">unsign</a> a cookie. </p>
<h6 class="description_section">Parameters</h6>
<dl class="parameters">
<dt>ASecret[in]</dt>
<dd>Secret key to <a class="normal" href="BrookHTTPCookies.TBrookHTTPCookie.html#Unsign">unsign</a> the cookie <a class="normal" href="BrookHTTPCookies.TBrookHTTPCookie.html#Value">value</a>.</dd>
</dl>
<h6 class="description_section">Returns</h6>
<p class="return"><code>True</code> if cookie is unsigned successfully.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Unsign"></span><code>procedure <strong>Unsign</strong>(const ASecret: string); overload; virtual;</code></td>
</tr>
<tr><td colspan="2">
<p>
Unsigns a cookie. </p>
<h6 class="description_section">Parameters</h6>
<dl class="parameters">
<dt>ASecret[in]</dt>
<dd>Secret key to <code>unsign</code> the cookie <a class="normal" href="BrookHTTPCookies.TBrookHTTPCookie.html#Value">value</a>.</dd>
</dl>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="ToString"></span><code>function <strong>ToString</strong>: string; override;</code></td>
</tr>
<tr><td colspan="2">
<p>
Gets the cookie as string.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Clear"></span><code>procedure <strong>Clear</strong>; virtual;</code></td>
</tr>
<tr><td colspan="2">
<p>
Clears the cookie properties.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Expire"></span><code>procedure <strong>Expire</strong>; virtual;</code></td>
</tr>
<tr><td colspan="2">
<p>
<a class="normal" href="BrookHTTPCookies.TBrookHTTPCookie.html#Expires">Expires</a> the cookie.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Persist"></span><code>procedure <strong>Persist</strong>; virtual;</code></td>
</tr>
<tr><td colspan="2">
<p>
Persists a cookie to live as long as it can.</p>
</td></tr>
</table>
<h3 class="detail">Properties</h3>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Name"></span><code>property <strong>Name</strong>: string read FName write SetName;</code></td>
</tr>
<tr><td colspan="2">
<p>
Cookie <code>name</code>.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Value"></span><code>property <strong>Value</strong>: string read FValue write SetValue;</code></td>
</tr>
<tr><td colspan="2">
<p>
Cookie <code>value</code>.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Domain"></span><code>property <strong>Domain</strong>: string read FDomain write FDomain;</code></td>
</tr>
<tr><td colspan="2">
<p>
Allowed <code>domain</code> to receive the cookie.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Path"></span><code>property <strong>Path</strong>: string read FPath write SetPath;</code></td>
</tr>
<tr><td colspan="2">
<p>
<code>Path</code> that must exist in the URL to receive the cookie.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Expires"></span><code>property <strong>Expires</strong>: TDateTime read FExpires write FExpires;</code></td>
</tr>
<tr><td colspan="2">
<p>
Expiration date/time.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="HttpOnly"></span><code>property <strong>HttpOnly</strong>: Boolean read FHttpOnly write FHttpOnly;</code></td>
</tr>
<tr><td colspan="2">
<p>
<code>True</code> prevents the cookie to be accessed through JavaScript.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Secure"></span><code>property <strong>Secure</strong>: Boolean read FSecure write FSecure;</code></td>
</tr>
<tr><td colspan="2">
<p>
<code>True</code> indicates cookie sent only through HTTPS protocol.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="MaxAge"></span><code>property <strong>MaxAge</strong>: Integer read FMaxAge write SetMaxAge;</code></td>
</tr>
<tr><td colspan="2">
<p>
Sets an expiration expressed in number of seconds.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="SameSite"></span><code>property <strong>SameSite</strong>: <a href="BrookHTTPCookies.html#TBrookHTTPCookieSameSite">TBrookHTTPCookieSameSite</a> read FSameSite write FSameSite;</code></td>
</tr>
<tr><td colspan="2">
<p>
<code>True</code> indicates that a cookie shouldn't be sent with cross-site requests.</p>
</td></tr>
</table>
<hr><span class="appinfo"><em>Generated by <a href="https://pasdoc.github.io/">PasDoc 0.16.0</a>. </em>
</span>
</div></div></body></html>