Re: [twsocket] HttpClient inside HttpServer

2006-07-30 Thread Francois PIETTE
Inside a THttpServer.OnGetDocument event, I have been using several THttpCli objects sucessfully for quite a while using Get. As my data returned is growing every month, i would like to start using GetAsync. The problem i have is, my data is returned in THttpCli.OnDocDone i am unable to

Re: [twsocket] HttpClient inside HttpServer

2006-07-30 Thread Wilfried Mestdagh
Hello, You can put it in the Tag property if you cast it to an integer. Later in OnDocDone or whatever you restore it back by typecasting to THttpConnection. Dont forget to make it null when the connection is gone. --- Rgds, Wilfried [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html