Jump to content

Catch Indy Request


dalpiaze
 Share

Recommended Posts

Hi,

 

uniGUI uses Indy to controls http requests and manage the sessions.

 

Is there a way to catch the Request event of Indy when the http request fired (before the section starts) ??

 

 

I would used this to catch when client starts page like "http://localhost:8888/specific_command"

 

when client starts "specific_command" should NOT starts a session, but only do something in server (like write a record on a database) and closes de HTTP connection.

 

 

Thanks.

Link to comment
Share on other sites

Hi,

 

uniGUI uses Indy to controls http requests and manage the sessions.

 

Is there a way to catch the Request event of Indy when the http request fired (before the section starts) ??

 

 

I would used this to catch when client starts page like "http://localhost:8888/specific_command"

 

when client starts "specific_command" should NOT starts a session, but only do something in server (like write a record on a database) and closes de HTTP connection.

 

 

Thanks.

 

would be something like http answer the call before starting the engine unigui?

Link to comment
Share on other sites

would be something like http answer the call before starting the engine unigui?

 

Yes, I want to catch the HTTP call before a uniGui session starts, because in specific commands I don't want to start a new uniGui session, but just do some procedure and return a HTTP response to the client.

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.

 Share

×
×
  • Create New...