micbasov Posted April 23, 2013 Share Posted April 23, 2013 Hi Farhad! How to processing the URL address of the server without displaying the main form of application? For example: http://127.0.0.1/ DataSnapQuery?parameter=1 How to return the response using UniSession.SendResponse? In ExtPascal solves this problem by creating a new procedure published in classes inherited from TExtThread: TAppThread = class(TExtThread) procedure AfterConstruction; override; procedure BeforeDestruction; override; published procedure Home; override; procedure DataSnapQuery; procedure DataSnapGetParams; procedure GetObjectData; end; Is it possible to add an event to OnUserClientEvent in TUniGUIMainModule that will be triggered for example when requesting http://127.0.0.1/UserEvent?parameter=1 ? Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.