Unit BrookUtility

Description

Utility functions of the framework.

Uses

Overview

Classes, Interfaces, Objects and Records

Name Description
Class TBrookLocker Allows to lock other threads from accessing a block of code.
Record Sagui Global Sagui object containing general purpose functions.
Record Brook Global Brook object containing general purpose functions.
Record TBrookHTTPRequestMethodHelper Type helper for HTTP verb conversion.

Types

TBrookErrorEvent = procedure(ASender: TObject; AException: Exception) of object;
TBrookHTTPRequestMethod = (...);
TBrookHTTPRequestMethods = set of TBrookHTTPRequestMethod;

Constants

tkPrimitives = tkProperties - [tkArray..tkObject] - [tkInterfaceRaw] - [tkProcVar] - [tkHelper..tkPointer] ;

Description

Types

TBrookErrorEvent = procedure(ASender: TObject; AException: Exception) of object;

Event signature used by stuff that handles errors.

Parameters
ASender[in]
Sender object.
AException[in]
Exception object.
TBrookHTTPRequestMethod = (...);

HTTP verbs enumeration.

Values
  • rmUnknown
  • rmGET
  • rmPOST
  • rmPUT
  • rmDELETE
  • rmPATCH
  • rmOPTIONS
  • rmHEAD
TBrookHTTPRequestMethods = set of TBrookHTTPRequestMethod;

Set of HTTP verbs.

Constants

tkPrimitives = tkProperties - [tkArray..tkObject] - [tkInterfaceRaw] - [tkProcVar] - [tkHelper..tkPointer] ;

Primitive kinds.


Generated by PasDoc 0.16.0.