>> > It is always interesting to reuse objects instead of destroying them >> > and >> > recreate a fresh copy. But speaking about stream, it depends on the >> > type >> > of >> > stream. A TFileStream has to be destroyed to close the file. > > I thought about extending HTTPCli and adding a property, > "CreateMemoryStreams". I use memory streams with HTTPCli and have to > do this for every use. It would be nice it the create/free code was > already done for me with a simple property setting.
The best way to do that is not to modify the component but derive a new one and add the behaviour you like. -- Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED] http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
