Unit BrookHTTPCookies

Description

Contains classes which handles server side cookies.

Uses

Overview

Classes, Interfaces, Objects and Records

Name Description
Class EBrookHTTPCookie Handles exceptions related to HTTP cookies classes.
Class TBrookHTTPCookie Server side HTTP cookie item.
Class TBrookHTTPCookiesEnumerator List enumerator for TBrookHTTPCookies.
Class TBrookHTTPCookies Server side HTTP cookie list.

Types

TBrookHTTPCookieSameSite = (...);
TBrookHTTPCookieClass = class of TBrookHTTPCookie;

Constants

BROOK_COOKIE_SIG_PREFIX: string = 's:';
BROOK_COOKIE_NAME_PREFIX: string = 'BrookCookie';
SBrookEmptyCookieName = 'Empty cookie name.';
SBrookInvalidCookieName = 'Invalid cookie name: %s.';

Description

Types

TBrookHTTPCookieSameSite = (...);

SameSite cookie attribute types.

Values
  • ssNone: The browser will send cookies with both cross-site requests and same-site requests.
  • ssStrict: The browser will only send cookies for same-site requests.
  • ssLax: Same-site cookies are withheld on cross-site subrequests, but will be sent when a user navigates to the URL from an external site.
TBrookHTTPCookieClass = class of TBrookHTTPCookie;

Class-reference for TBrookHTTPCookie.

Constants

BROOK_COOKIE_SIG_PREFIX: string = 's:';

Prefix to identify a signed cookie.

BROOK_COOKIE_NAME_PREFIX: string = 'BrookCookie';

Default cookie name.

SBrookEmptyCookieName = 'Empty cookie name.';

Error message 'Empty cookie name.'.

SBrookInvalidCookieName = 'Invalid cookie name: %s.';

Error message 'Invalid cookie name: <cookie-name>.'.


Generated by PasDoc 0.16.0.