http WaitThread property
Return to Introduction  Previous page  Next page
Applies to
WinHTTP components.  

Declaration
property WaitThread: Boolean;  

Description
The WaitThread property controls whether the procedure that calls the Read method (which downloads the data from the Web) should be suspended and wait until the scanning process will be done.  
 
Set the WaitThread to True, if you would like to read the data from the Web so that the application does not continue with next lines of code after calling the Read method. Your application will done download (or inform about error) before continuing to next step.  
 
tip If your application can wait, until the the HTTP request will be completed, only for some limited time interval — specify WaitTimeout property.  

See also
Thread, ThreadPriority and Suspended properties;  
Read method.