RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
THTTPReqResp.Destroy Destructor

Frees the memory associated with the THTTPReqResp object.

Pascal
destructor Destroy; override;
C++
virtual __fastcall ~THTTPReqResp();

Do not call the Destroy method directly. Instead, use the Free method, which checks for a nil reference before calling Destroy. 

The THTTPReqResp destructor ensures that the connection to the server is closed before the component is freed. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!