Jump to content

Send response and close Node


erich.wanker

Recommended Posts

Hi,

i have a UniGui App to store Working time and ToDo lists.

 

i want - if a parameter is added to the starting URL -  my app should start a function (recalc times of one Customer) and sends the result as a json array and close the started node

without parameter - the app sould start normal ...

How can i do this?

 

ThanX

Erich

 

Link to comment
Share on other sites

Hello,

procedure TUniServerModule.UniGUIServerModuleHTTPCommand(
  ARequestInfo: TIdHTTPRequestInfo; AResponseInfo: TIdHTTPResponseInfo;
  var Handled: Boolean);
begin

end;

procedure TUniServerModule.UniGUIServerModuleHTTPDocument(
  const Document: string; const InParams: TStrings;
  ARequestInfo: TIdHTTPRequestInfo; AResponseInfo: TIdHTTPResponseInfo;
  var Handled: Boolean);
begin

end;

 

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...