The server side call back signature changed since this article was first
published in 2010.
Please refer to the documentation or this forum article and
The article was totally rewritten to reflect the enhancements.
And do not forget to see mORMot's interface-based
Note that the main difference with previous implementation is the
signature of the service implementation event, which should be now
(note that there is one unique
class parameter, with no
Please update your code if you are using method-based
You certainly knows about the new DataSnap Client-Server features, based on
JSON, introduced in Delphi 2010.
We added such communication in our mORmot Framework, in a KISS
(i.e. simple) way: no expert, no new unit or new class. Just add a published
method Server-side, then use easy functions about JSON or URL-parameters to get
the request encoded and decoded as expected, on Client-side.