Jump to content

Processing URL address without displaying main form of application


micbasov

Recommended Posts


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



Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...