Unit RALConsts
Classes, Interfaces, Objects and Records
Functions and Procedures
Variables
Description
Unit that stores all constant values, version configuration and i18n message strings
Uses
- Classes
- SysUtils
Overview
Types
TRALAuthTypes = (...); |
Constants
RALVERSION = '0.12.5-1 RC1'; |
RALVERSION_MAJOR = 0; |
RALVERSION_MINOR = 12; |
RALVERSION_PATCH = 4; |
RALVERSION_FULL = RALVERSION_MAJOR * 10000
+ RALVERSION_MINOR * 100
+ RALVERSION_PATCH; |
RALPACKAGENAME = 'Pascal REST API Lite (RAL) Components'; |
RALPACKAGESHORT = 'PascalRAL'; |
RALPACKAGESHORTLICENSE = 'PascalRAL v' + RALVERSION; |
RALPACKAGESITE = 'https://github.com/OpenSourceCommunityBrasil/PascalRAL'; |
RALPACKAGELICENSE = 'OpenSource'; |
RALPACKAGELICENSEVERSION = 'OpenSource - v' + RALVERSION; |
ENGINESYNOPSE = 'mORMot2'; |
ENGINEINDY = 'Indy'; |
ENGINESAGUI = 'Sagui'; |
ENGINENETHTTP = 'netHttp'; |
ENGINEFPHTTP = 'fpHttp'; |
RALDefaultPage = '<!DOCTYPE html>'
+ '<html lang="en-us">'
+ '<head><title>RALServer - ' + RALVERSION + '</title>'
+ '</head><body><h1>Server OnLine</h1>'
+ '<h4>Version: ' + RALVERSION + '</h4>'
+ '<h4>Engine: %ralengine%</h4>'
+ '</body></html>'; |
RALPage = '<!DOCTYPE html>'
+ '<html lang="%s">'
+ '<head><title>RALServer - ' + RALVERSION + '</title>'
+ '</head><body><h1>%d - %s</h1>'
+ '<p>%s</p></body></html>'; |
SupportedEncriptKind = 'aes128cbc_pkcs7, aes192cbc_pkcs7, aes256cbc_pkcs7'; |
MultipartLineLength = 500; |
DEFAULTBUFFERSTREAMSIZE = 52428800; |
DEFAULTDECODERBUFFERSIZE = 65536; |
HTTPLineBreak = #13#10; |
HTTP_OK = 200; |
HTTP_Created = 201; |
HTTP_NoContent = 204; |
HTTP_Moved = 301; |
HTTP_Found = 302; |
HTTP_BadRequest = 400; |
HTTP_Unauthorized = 401; |
HTTP_Forbidden = 403; |
HTTP_NotFound = 404; |
HTTP_MethodNotAllowed = 405; |
HTTP_RequestTimeout = 408; |
HTTP_UnsupportedMedia = 415; |
HTTP_InternalError = 500; |
HTTP_NotImplemented = 501; |
HTTP_BadGateway = 502; |
HTTP_ServiceUnavailable = 503; |
HTTP_VersionNotSupported = 505; |
emCompressInvalidFormat = 'Invalid compression Format.'; |
emCompressLibFilesError = 'The library files of the following classes were not found: %s.'; |
emContentCheckError = 'Content check error.'; |
emCryptEmptyKey = 'Key must be provided.'; |
emHMACEmptyText = 'Input text must be provided.'; |
emDBConnectionUndefined = 'Connection not set.'; |
emDBDriverMissing = 'Connection driver not found.'; |
emDBEmptyBody = 'Body is empty.'; |
emDBLinkMissing = 'DBLink Property missing.'; |
emDBUpdateSQLMissing = 'SQL for UpdateTable/UpdateSQL cannot be empty.'; |
emInvalidFormat = 'Invalid Format.'; |
emInvalidJSONFormat = 'Invalid JSON Format.'; |
emQueryVersionError = 'Invalid structure version.'; |
emRouteAlreadyExists = 'Route already exists.'; |
emStorageClassNotFound = 'Storage class not found'; |
emStorageInvalidBinary = 'Invalid Binary Format.'; |
emStorageLinkNotFound = 'Storage %s not declared in uses'; |
emStorageNotFound = 'No TRALStorageLink found.'; |
emSaguiLibraryLoadError = 'Error while trying to load libsagui.'; |
emSaguiServerCreateError = 'Error while attempting to create the server.'; |
emSaguiServerUnsupportedTLS = 'This version of TLS is not supported by the lib.'; |
wmIPv6notImplemented = 'IPv6 is not implemented in this engine.'; |
SLangHTTP = 'en-US'; |
SServerOnline = 'Server Online'; |
SWordVersion = 'Version'; |
SWordEngine = 'Engine'; |
SError400 = 'BadRequest'; |
SError400Page = 'The server informs that it doesn''t like the input params'; |
SError401 = 'Unauthorized'; |
SError401Page = 'The server informs that it doesn''t know you'; |
SError403 = 'Forbidden'; |
SError403Page = 'The server informs that it doesn''t want you to access'; |
SError404 = 'Not Found'; |
SError404Page = 'The server informs that the page you''re requesting doesn''t exist in this reality'; |
SError415 = 'Unsuported Media Type'; |
SError415Page = 'The server informs that it doesn''t know what you''re asking'; |
SError500 = 'Internal Server Error'; |
SError500Page = 'The server made something that it shouldn''t'; |
SError501 = 'Not Implemented'; |
SError501Page = 'The server informs that it doesn''t exist'; |
SError503 = 'Service Unavailable'; |
SError503Page = 'The server informs that it''s resting now and doesn''t want to work. You should try later'; |
cmDBApplyUpdDescription = 'Apply Update from a client http'; |
cmDBExecSQLDescription = 'Execute a SQL from a client http'; |
cmDBGetFieldsDescription = 'List all fields in a table'; |
cmDBGetSQLFieldsDescription = 'List all fields from a SQL'; |
cmDBGetTablesDescription = 'List all tables in a database'; |
cmDBOpenSQLDescription = 'Open a SQL from a client http'; |
cmDBParamSchemaDescription = 'Schema of database'; |
cmDBParamSystemDescription = 'Include system tables'; |
cmDBBinary = 'Binary Format'; |
cmDBSQL = 'SQL'; |
cmDBTableName = 'Table name'; |
Description
Types
TRALAuthTypes = (...); |
Values
|
Constants
RALVERSION = '0.12.5-1 RC1'; |
|
Versionamento |
RALVERSION_MAJOR = 0; |
RALVERSION_MINOR = 12; |
RALVERSION_PATCH = 4; |
RALVERSION_FULL = RALVERSION_MAJOR * 10000
+ RALVERSION_MINOR * 100
+ RALVERSION_PATCH; |
RALPACKAGENAME = 'Pascal REST API Lite (RAL) Components'; |
|
IOTA Constants |
RALPACKAGESHORT = 'PascalRAL'; |
RALPACKAGESHORTLICENSE = 'PascalRAL v' + RALVERSION; |
RALPACKAGESITE = 'https://github.com/OpenSourceCommunityBrasil/PascalRAL'; |
RALPACKAGELICENSE = 'OpenSource'; |
RALPACKAGELICENSEVERSION = 'OpenSource - v' + RALVERSION; |
ENGINESYNOPSE = 'mORMot2'; |
ENGINEINDY = 'Indy'; |
ENGINESAGUI = 'Sagui'; |
ENGINENETHTTP = 'netHttp'; |
ENGINEFPHTTP = 'fpHttp'; |
RALDefaultPage = '<!DOCTYPE html>'
+ '<html lang="en-us">'
+ '<head><title>RALServer - ' + RALVERSION + '</title>'
+ '</head><body><h1>Server OnLine</h1>'
+ '<h4>Version: ' + RALVERSION + '</h4>'
+ '<h4>Engine: %ralengine%</h4>'
+ '</body></html>'; |
|
html pages |
RALPage = '<!DOCTYPE html>'
+ '<html lang="%s">'
+ '<head><title>RALServer - ' + RALVERSION + '</title>'
+ '</head><body><h1>%d - %s</h1>'
+ '<p>%s</p></body></html>'; |
SupportedEncriptKind = 'aes128cbc_pkcs7, aes192cbc_pkcs7, aes256cbc_pkcs7'; |
MultipartLineLength = 500; |
DEFAULTBUFFERSTREAMSIZE = 52428800; |
DEFAULTDECODERBUFFERSIZE = 65536; |
HTTPLineBreak = #13#10; |
HTTP_OK = 200; |
|
HTTP Codes |
HTTP_Created = 201; |
HTTP_NoContent = 204; |
HTTP_Moved = 301; |
HTTP_Found = 302; |
HTTP_BadRequest = 400; |
HTTP_Unauthorized = 401; |
HTTP_Forbidden = 403; |
HTTP_NotFound = 404; |
HTTP_MethodNotAllowed = 405; |
HTTP_RequestTimeout = 408; |
HTTP_UnsupportedMedia = 415; |
HTTP_InternalError = 500; |
HTTP_NotImplemented = 501; |
HTTP_BadGateway = 502; |
HTTP_ServiceUnavailable = 503; |
HTTP_VersionNotSupported = 505; |
emCompressInvalidFormat = 'Invalid compression Format.'; |
|
general error messages |
emCompressLibFilesError = 'The library files of the following classes were not found: %s.'; |
emContentCheckError = 'Content check error.'; |
emCryptEmptyKey = 'Key must be provided.'; |
emHMACEmptyText = 'Input text must be provided.'; |
emDBConnectionUndefined = 'Connection not set.'; |
emDBDriverMissing = 'Connection driver not found.'; |
emDBEmptyBody = 'Body is empty.'; |
emDBLinkMissing = 'DBLink Property missing.'; |
emDBUpdateSQLMissing = 'SQL for UpdateTable/UpdateSQL cannot be empty.'; |
emInvalidFormat = 'Invalid Format.'; |
emInvalidJSONFormat = 'Invalid JSON Format.'; |
emQueryVersionError = 'Invalid structure version.'; |
emRouteAlreadyExists = 'Route already exists.'; |
emStorageClassNotFound = 'Storage class not found'; |
emStorageInvalidBinary = 'Invalid Binary Format.'; |
emStorageLinkNotFound = 'Storage %s not declared in uses'; |
emStorageNotFound = 'No TRALStorageLink found.'; |
emSaguiLibraryLoadError = 'Error while trying to load libsagui.'; |
|
sagui error messages |
emSaguiServerCreateError = 'Error while attempting to create the server.'; |
emSaguiServerUnsupportedTLS = 'This version of TLS is not supported by the lib.'; |
wmIPv6notImplemented = 'IPv6 is not implemented in this engine.'; |
|
ralserver error messages |
SLangHTTP = 'en-US'; |
|
ralserver page codes |
SServerOnline = 'Server Online'; |
SWordVersion = 'Version'; |
SWordEngine = 'Engine'; |
SError400 = 'BadRequest'; |
SError400Page = 'The server informs that it doesn''t like the input params'; |
SError401 = 'Unauthorized'; |
SError401Page = 'The server informs that it doesn''t know you'; |
SError403 = 'Forbidden'; |
SError403Page = 'The server informs that it doesn''t want you to access'; |
SError404 = 'Not Found'; |
SError404Page = 'The server informs that the page you''re requesting doesn''t exist in this reality'; |
SError415 = 'Unsuported Media Type'; |
SError415Page = 'The server informs that it doesn''t know what you''re asking'; |
SError500 = 'Internal Server Error'; |
SError500Page = 'The server made something that it shouldn''t'; |
SError501 = 'Not Implemented'; |
SError501Page = 'The server informs that it doesn''t exist'; |
SError503 = 'Service Unavailable'; |
SError503Page = 'The server informs that it''s resting now and doesn''t want to work. You should try later'; |
cmDBApplyUpdDescription = 'Apply Update from a client http'; |
|
RALDBDescriptions |
cmDBExecSQLDescription = 'Execute a SQL from a client http'; |
cmDBGetFieldsDescription = 'List all fields in a table'; |
cmDBGetSQLFieldsDescription = 'List all fields from a SQL'; |
cmDBGetTablesDescription = 'List all tables in a database'; |
cmDBOpenSQLDescription = 'Open a SQL from a client http'; |
cmDBParamSchemaDescription = 'Schema of database'; |
cmDBParamSystemDescription = 'Include system tables'; |
cmDBBinary = 'Binary Format'; |
cmDBSQL = 'SQL'; |
cmDBTableName = 'Table name'; |
GitHub Repository
Generated by PasDoc 0.16.0.