You are not logged in.
Is there a way to call ServiceRegister from a method to dinamicaly register interfaces on a runing mORMot server ?
Thinking on a kind of plugin framework that in runtime can load, register an interface, client uses the interface then unregister and unload module
Offline
I think you can call ServiceRegister() when the server is running.
Only issue may be with unregister if a service is still running.
But it has not been fully tested yet.
Feedback is welcome!
Online
@jairgza:
any advance with your idea?
I was wondering exactly the same: Build a very light server that handles only few things like configuration and administration, and when requested with a interface-type service load the module that will handle it.
Don't know if unloading the module after the use will be a plus or a performance minus... in a development environment it is certainly a plus, but in production....
Offline