Skip to content

Commit

Permalink
made it explicit not to use plain TRestServer
Browse files Browse the repository at this point in the history
  • Loading branch information
Arnaud Bouchez committed Jan 8, 2024
1 parent 41e13cb commit a141b40
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/mormot.commit.inc
@@ -1 +1 @@
'2.2.6621'
'2.2.6622'
5 changes: 3 additions & 2 deletions src/rest/mormot.rest.server.pas
Expand Up @@ -1747,9 +1747,10 @@ TRestServerUriPagingParameters = record
TOnInternalInfo = procedure(Sender: TRestUriContext;
var Info: TDocVariantData) of object;

/// a generic REpresentational State Transfer (REST) server
/// a generic/abstract REpresentational State Transfer (REST) server
// - descendent must implement the protected EngineList() Retrieve() Add()
// Update() Delete() methods
// Update() Delete() methods - so if you want a REST server with no ORM
// (e.g. for a pure SOA server), use (or inherit) TRestServerFullMemory
// - automatic call of this methods by a generic Uri() RESTful function
// - any published method of descendants must match TOnRestServerCallBack
// prototype, and is expected to be thread-safe
Expand Down

0 comments on commit a141b40

Please sign in to comment.