|
|
|
| WinHTTP component.
|
| type
|
| TWinHTTPTimeouts = class(TPersistent)
|
| published
|
| property ConnectTimeout: DWord default 0;
|
| property ReceiveTimeout: DWord default 0;
|
| property SendTimeout: DWord default 0;
|
| end;
|
|
|
| property Timeouts: TWinHTTPTimeouts;
|
| 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:
|
| ConnectTimeout | Sets 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.
|
| ReceiveTimeout | The 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.
|
| SendTimeout | The time-out value to send a request. If the send takes longer than this time-out value, the send is canceled.
|