Unit RALConsts

Description

Unit that stores all constant values, version configuration and i18n message strings

Uses

Overview

Types

TRALAuthTypes = (...);

Constants

RALVERSION = '0.12.5-2 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 = (...);

This item has no description.

Values
  • ratNone
  • ratBasic
  • ratBearer
  • ratOAuth
  • ratOAuth2
  • ratDigest

Constants

RALVERSION = '0.12.5-2 RC1';

Versionamento

RALVERSION_MAJOR = 0;

This item has no description.

RALVERSION_MINOR = 12;

This item has no description.

RALVERSION_PATCH = 4;

This item has no description.

RALVERSION_FULL = RALVERSION_MAJOR * 10000 + RALVERSION_MINOR * 100 + RALVERSION_PATCH;

This item has no description.

RALPACKAGENAME = 'Pascal REST API Lite (RAL) Components';

IOTA Constants

RALPACKAGESHORT = 'PascalRAL';

This item has no description.

RALPACKAGESHORTLICENSE = 'PascalRAL v' + RALVERSION;

This item has no description.

RALPACKAGESITE = 'https://github.com/OpenSourceCommunityBrasil/PascalRAL';

This item has no description.

RALPACKAGELICENSE = 'OpenSource';

This item has no description.

RALPACKAGELICENSEVERSION = 'OpenSource - v' + RALVERSION;

This item has no description.

ENGINESYNOPSE = 'mORMot2';

This item has no description.

ENGINEINDY = 'Indy';

This item has no description.

ENGINESAGUI = 'Sagui';

This item has no description.

ENGINENETHTTP = 'netHttp';

This item has no description.

ENGINEFPHTTP = 'fpHttp';

This item has no description.

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>';

This item has no description.

SupportedEncriptKind = 'aes128cbc_pkcs7, aes192cbc_pkcs7, aes256cbc_pkcs7';

This item has no description.

MultipartLineLength = 500;

This item has no description.

DEFAULTBUFFERSTREAMSIZE = 52428800;

This item has no description.

DEFAULTDECODERBUFFERSIZE = 65536;

This item has no description.

HTTPLineBreak = #13#10;

This item has no description.

HTTP_OK = 200;

HTTP Codes

HTTP_Created = 201;

This item has no description.

HTTP_NoContent = 204;

This item has no description.

HTTP_Moved = 301;

This item has no description.

HTTP_Found = 302;

This item has no description.

HTTP_BadRequest = 400;

This item has no description.

HTTP_Unauthorized = 401;

This item has no description.

HTTP_Forbidden = 403;

This item has no description.

HTTP_NotFound = 404;

This item has no description.

HTTP_MethodNotAllowed = 405;

This item has no description.

HTTP_RequestTimeout = 408;

This item has no description.

HTTP_UnsupportedMedia = 415;

This item has no description.

HTTP_InternalError = 500;

This item has no description.

HTTP_NotImplemented = 501;

This item has no description.

HTTP_BadGateway = 502;

This item has no description.

HTTP_ServiceUnavailable = 503;

This item has no description.

HTTP_VersionNotSupported = 505;

This item has no description.

emCompressInvalidFormat = 'Invalid compression Format.';

general error messages

emCompressLibFilesError = 'The library files of the following classes were not found: %s.';

This item has no description.

emContentCheckError = 'Content check error.';

This item has no description.

emCryptEmptyKey = 'Key must be provided.';

This item has no description.

emHMACEmptyText = 'Input text must be provided.';

This item has no description.

emDBConnectionUndefined = 'Connection not set.';

This item has no description.

emDBDriverMissing = 'Connection driver not found.';

This item has no description.

emDBEmptyBody = 'Body is empty.';

This item has no description.

emDBLinkMissing = 'DBLink Property missing.';

This item has no description.

emDBUpdateSQLMissing = 'SQL for UpdateTable/UpdateSQL cannot be empty.';

This item has no description.

emInvalidFormat = 'Invalid Format.';

This item has no description.

emInvalidJSONFormat = 'Invalid JSON Format.';

This item has no description.

emQueryVersionError = 'Invalid structure version.';

This item has no description.

emRouteAlreadyExists = 'Route already exists.';

This item has no description.

emStorageClassNotFound = 'Storage class not found';

This item has no description.

emStorageInvalidBinary = 'Invalid Binary Format.';

This item has no description.

emStorageLinkNotFound = 'Storage %s not declared in uses';

This item has no description.

emStorageNotFound = 'No TRALStorageLink found.';

This item has no description.

emSaguiLibraryLoadError = 'Error while trying to load libsagui.';

sagui error messages

emSaguiServerCreateError = 'Error while attempting to create the server.';

This item has no description.

emSaguiServerUnsupportedTLS = 'This version of TLS is not supported by the lib.';

This item has no description.

wmIPv6notImplemented = 'IPv6 is not implemented in this engine.';

ralserver error messages

SLangHTTP = 'en-US';

ralserver page codes

SServerOnline = 'Server Online';

This item has no description.

SWordVersion = 'Version';

This item has no description.

SWordEngine = 'Engine';

This item has no description.

SError400 = 'BadRequest';

This item has no description.

SError400Page = 'The server informs that it doesn''t like the input params';

This item has no description.

SError401 = 'Unauthorized';

This item has no description.

SError401Page = 'The server informs that it doesn''t know you';

This item has no description.

SError403 = 'Forbidden';

This item has no description.

SError403Page = 'The server informs that it doesn''t want you to access';

This item has no description.

SError404 = 'Not Found';

This item has no description.

SError404Page = 'The server informs that the page you''re requesting doesn''t exist in this reality';

This item has no description.

SError415 = 'Unsuported Media Type';

This item has no description.

SError415Page = 'The server informs that it doesn''t know what you''re asking';

This item has no description.

SError500 = 'Internal Server Error';

This item has no description.

SError500Page = 'The server made something that it shouldn''t';

This item has no description.

SError501 = 'Not Implemented';

This item has no description.

SError501Page = 'The server informs that it doesn''t exist';

This item has no description.

SError503 = 'Service Unavailable';

This item has no description.

SError503Page = 'The server informs that it''s resting now and doesn''t want to work. You should try later';

This item has no description.

cmDBApplyUpdDescription = 'Apply Update from a client http';

RALDBDescriptions

cmDBExecSQLDescription = 'Execute a SQL from a client http';

This item has no description.

cmDBGetFieldsDescription = 'List all fields in a table';

This item has no description.

cmDBGetSQLFieldsDescription = 'List all fields from a SQL';

This item has no description.

cmDBGetTablesDescription = 'List all tables in a database';

This item has no description.

cmDBOpenSQLDescription = 'Open a SQL from a client http';

This item has no description.

cmDBParamSchemaDescription = 'Schema of database';

This item has no description.

cmDBParamSystemDescription = 'Include system tables';

This item has no description.

cmDBBinary = 'Binary Format';

This item has no description.

cmDBSQL = 'SQL';

This item has no description.

cmDBTableName = 'Table name';

This item has no description.



PascalRAL - GitHub Repository
Generated by PasDoc 1.0.4.