micbasov Posted April 23, 2013 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
Administrators Farshad Mohajeri Posted April 27, 2013 Administrators Posted April 27, 2013 What kind of response will it return? Quote
Administrators Farshad Mohajeri Posted April 28, 2013 Administrators Posted April 28, 2013 Please add a Feature Request so we can review it. Quote
micbasov Posted April 29, 2013 Author Posted April 29, 2013 Thank you for your answer! I'll add this request. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.