http Timeouts stucture
Return to Introduction  Previous page  Next page
Applies to
auHTTP component.  

Declaration
type  
  TauHTTPTimeouts = class(TPersistent)  
  published  
    property ConnectTimeout: DWord default 0;  
    property ReceiveTimeout: DWord default 0;  
    property SendTimeout: DWord default 0;  
  end;  
 
property Timeouts: TauHTTPTimeouts;  

Description
The Timeouts structure used to specify the time-out values for HTTP requests. All units are in milliseconds. If values are set to 0, the component will use default sustem values.  
 
There are three time-out values:  
ConnectTimeoutSets or retrieves the time-out value to use for Internet connection requests. If a connection request takes longer than this time-out value, the request is canceled. When attempting to connect to multiple IP addresses for a single host (a multihome host), the timeout limit is cumulative for all of the IP addresses.  
ReceiveTimeoutThe time-out value, in milliseconds, to receive a response to a request. If the receiving of data takes longer than this time-out value, the receiving is canceled.  
SendTimeoutThe time-out value to send a request. If the send takes longer than this time-out value, the send is canceled.  
File not found.